
Struts2
me10zyl
这个作者很懒,什么都没留下…
展开
-
struts2NameSpace
namespace决定了action的访问路径(同context),默认为"",可以接受所有的action namespace可以写为/,或者/xxx,或者/xxx/xxx对应的action访问路径为/index.acton,/xxx/index.action,/xxx/xxx/index.action转载 2014-07-05 15:29:42 · 556 阅读 · 0 评论 -
Struts2参数传递,Domain Model参数传递
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"> /error.jsp原创 2014-07-06 21:50:49 · 542 阅读 · 0 评论 -
Struts2通配符配置
struts.xml:<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd">原创 2014-07-06 21:05:36 · 524 阅读 · 0 评论 -
Struts2自定义Action,自定义方法,DMI(动态方法调用),路径问题
配置好xml后,原创 2014-07-05 17:18:01 · 1398 阅读 · 0 评论 -
struts2核心
structs2 filter核心:把请求跟结果分开...原创 2014-07-04 19:34:54 · 343 阅读 · 0 评论 -
Struts2,HelloWorld
1.下载好struct22.打开其中的example例子程序3.拷贝s原创 2014-07-04 17:43:46 · 433 阅读 · 0 评论