本文共 954 字,大约阅读时间需要 3 分钟。
属性名 | 作用 |
---|---|
name | 包名称,便于使用此包,为必须属性 |
extends | 指明继承的包 |
namespace | 指定名称空间,即访问此包下的 Action 需要访问的路径 |
abstract | 将包声明为抽象类型,即包内不定义任何 Action |
......
属性名 | 作用 |
---|---|
name | 用于配置 Action 对象被请求的 URL 映射 |
class | 指定 Action 对象的类名 |
method | 设置请求 Action 对象时,调用 Action 的哪一个方法 |
converter | 指定 Action 对象类型转换器的类 |
/StrutsJSP/stu_add.jsp /StrutsJSP/stu_update.jsp
转载地址:http://doqgn.baihongyu.com/