摘要: 学习web也有几天了,今天把tomcat改成7.0的之后老是出现严重警告:严重: The web application [/struts2_0100] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10](value[com.opensymphony.xwork2.inject.ContainerImpl$10@169bc15]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@2 阅读全文
posted @ 2012-12-05 00:13 Ton Loong 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 今天在学习struts2的拦截器,课后老师让自己写一个token连接器,大家没事瞅两眼!呵呵import javax.servlet.http.HttpSession;import org.apache.struts2.ServletActionContext;import org.apache.struts2.util.TokenHelper;import com.opensymphony.xwork2.ActionInvocation;import com.opensymphony.xwork2.interceptor.Interceptor;public class TokenInter 阅读全文
posted @ 2012-12-05 00:03 Ton Loong 阅读(97) 评论(0) 推荐(0) 编辑