
struts2
文章平均质量分 72
iteye_5269
这个作者很懒,什么都没留下…
展开
-
struts2.0中struts.xml配置文件详解
struts2.0中struts.xml配置文件详解 view plaincopy to clipboardprint? <!DOCTYPE struts PUBLIC "- //Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache....2010-03-26 10:15:46 · 76 阅读 · 0 评论 -
使用Struts2.0 拦截器
Struts2的拦截器和Servlet过滤器类似。在执行Action的execute方法之前,Struts2会首先执行在struts.xml中引用的拦截器,在执行完所有引用的拦截器的intercept方法后,会执行Action的execute方法。 Struts2拦截器类必须从com.opensymphony.xwork2.interceptor.Interceptor接口继承,在Inter...2010-03-26 11:25:55 · 104 阅读 · 0 评论 -
Struts2 annotation convention upload file 注释上传文件
Struts2 annotation convention upload file 注释上传文件 @InterceptorRefs({@InterceptorRef(value="fileUpload", params= {"allowedTypes","image/bmp,image/PNG,image/gif,image/JPEG,image/JPG,image/jpg,applica...原创 2010-06-04 14:23:55 · 98 阅读 · 0 评论 -
OGNL表达式struts2标签“%,#,$”
OGNL表达式struts2标签“%,#,$”(2010-03-03 22:48:57)转载标签:杂谈 分类:struts2 一、什么是OGNL,有什么特点? OGNL(Object-Graph Navigation Language),大概可以理解为:对象图形化导航语言。是一种可以方便地操作对象属性的开源表达式语言。OGNL有如下特点: 1、支持对象...原创 2010-06-08 10:04:40 · 79 阅读 · 0 评论