Struts2
chenxiaodan_danny
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Struts2学习 通配符调用
通配符访问作用:配置一个Action 访问action里所有方法demo1:structs.xml配置 /Vst{1}_success.jsp 访问方式:http://localhost:8080/structs_demo/test2/Vstaddhttp://localhost:8080/structs_demo/test2/Vstdel原创 2015-01-15 15:15:49 · 544 阅读 · 0 评论 -
Struts2学习 路径访问
一般访问某个jsp程序如下,假设index.jsp在WebContent里面若不使用structs框架,则可以访问到,但是使用了该框架,就不能这么访问了首先structs Action 访问举个例子,在浏览器输入http://localhost:8080/project-name/packge-namespace/action-name,若是我在该链接里的某个jsp页面里 访问原创 2015-01-15 14:02:34 · 830 阅读 · 0 评论 -
[Struts2] 三种传参数方法
转载自:http://www.cppblog.com/fenglin/articles/129212.html1、通过属性传参数(Attr)UserAction.javapackage com.bebig.struts2.user.action;import com.opensymphony.xwork2.ActionSupport;public class U转载 2015-01-15 15:55:41 · 526 阅读 · 0 评论
分享