关于 在struts2里 使用 通配符的问题!it's necessary for web!
来源:互联网 发布:tonymoly的rd03是mac 编辑:程序博客网 时间:2024/04/27 23:56
if you are doing your webwork ,and touched a nests problem, many methods mapping to one action,
you should use {} and * for it,which way can make you easy to work.
let's see how to use it.
when your Acntionname is LoginAction and it has been controlled by your springframework,try to mark it be login,
and action name is "login_*" with method="{1},so the * is mapping your methods in your LoginAction,and they will be
getby the
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction and
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilterwhile you do it in this way,your jsppage should be write action="login_?";
0 0
- 关于 在struts2里 使用 通配符的问题!it's necessary for web!
- 关于Struts2通配符的问题
- 关于struts2的通配符问题
- 关于struts2通配符的使用
- 关于struts2配置里的通配符的理解
- struts2通配符的使用
- struts2通配符的使用
- struts2通配符的使用
- struts2通配符的使用
- struts2的通配符使用
- struts2:通配符的使用
- struts2通配符的使用
- Struts2 中 关于s:url 标签 的使用问题
- 005——struts2的关于通配符的问题
- 关于Struts2 在web.xml中配置改变的问题
- struts2.5通配符的问题
- struts2的通配符使用以及路径问题浅析
- struts2.5的method使用通配符无效问题
- Hadoop历史版本安装
- 字符识别OCR模板匹配和BP神经网络
- 考研励志经历【等我动摇的时候看看】
- C#获取当前运行的源代码的文件名和当前源代码的行数的方法
- [LeetCode]Merge Intervals, 解题报告
- 关于 在struts2里 使用 通配符的问题!it's necessary for web!
- ubuntu 中找不到libgtk-x11-2.0.so
- javabean介绍
- CSU1336(湖南第九届原题) Interesting Calculator
- 编程之美2014初赛第二场第二题
- 正则表达式
- ASP.NET学习之GridView
- 算法实践之2 :TeX括号
- zero point pole point