struts2.0
bird_cat
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
strut2.0学习笔记
问题一: Form action defaulting to 'action' attribute's literal value解决方案如下: 页面显示信息: struts.xml配置信息:原创 2012-05-17 13:22:18 · 958 阅读 · 0 评论 -
详细描述用maven构建Struts2项目
例子下载地址1:get started2:user guide 3: API4:HOME构建后目录结果如下:struts2 和struts1有很大的不同,它的核心特征是所有的实现都是通过interceptors(拦截器),“value stack” (值栈),OGNL(表达式语言),以及包含了很多的注解使框架使用起来更简单。下面一步一步构建学习S原创 2013-05-04 13:03:19 · 40795 阅读 · 2 评论 -
创建自己struts2拦截器
步骤:1:创建一个类实现com.opensymphony.xwork2.interceptor.Interceptor接口2:实现intercept(ActionInvocation invocation) 方法3:在struts.xml中配置拦截器4: 链接到相应的action代码下载文件目录:struts2自身有很多的拦截器,在struts-原创 2013-05-05 16:13:58 · 2617 阅读 · 0 评论
分享