![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts
curiousby
这个作者很懒,什么都没留下…
展开
-
struts2 interceptor 拦截器
m.opensymphony.xwork2.Action;import com.opensymphony.xwork2.ActionInvocation;import com.opensymphony.xwork2.interceptor.AbstractInterceptor;/** * 认证拦截器(可以拦截URL的跳转) */public class AuthInterceptor extends AbstractInterceptor { @Override原创 2015-05-20 17:29:04 · 97 阅读 · 0 评论 -
struts 单双行 迭代显示
f test="#st.odd"> <tr class="whiteSmokeBg" align="center" style="width:296px;height:41px;"> </s:if> <s:else> <tr class="lightGrayBg" ali2015-07-06 10:46:43 · 113 阅读 · 0 评论 -
struts redirect 带参数
appid=${appid}&amp;app_platform=${app_platform}</result> </action> public String addDefaultUserTag(){ getResponse().setCharacterEncoding("UTF-8"); appid = getRequest().getParameter(2015-08-11 16:43:19 · 120 阅读 · 0 评论 -
下载 sdk struts java
m name="contentType"> application/octet-stream;charset=ISO-8859-1 </param> <param name="contentDisposition">attachment;fileName="${fileName}"</param> &l原创 2015-09-15 11:17:06 · 64 阅读 · 0 评论 -
spring + struts + hibernate demo
LSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">2015-12-07 11:09:18 · 99 阅读 · 0 评论 -
struts+spring +jdbctemplate demo
hema-instance" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.x2015-12-07 11:32:52 · 109 阅读 · 0 评论 -
struts 拦截器
AuthInterceptor" class="com.fusionability.web.interceptor.TraceAuthInterceptor"></interceptor> <interceptor-stack name="traceAuthInterceptorStack"> <interceptor-r2015-12-23 18:42:22 · 73 阅读 · 0 评论 -
解决xss漏洞
2015-12-29 10:51:09 · 273 阅读 · 0 评论 -
校验Referer头,防范CSRF(跨站请求伪造)攻击的拦截器
com.opensymphony.xwork2.ActionInvocation;import com.opensymphony.xwork2.interceptor.AbstractInterceptor;import com.trace.web.utils.Constants;/** * 对管理员操作,校验Referer头,防范CSRF(跨站请求伪造)攻击的拦截器 * @author admin */public class AuthInterceptor extend2015-12-29 10:53:48 · 4095 阅读 · 0 评论