摘要: 转载:http://justsee.iteye.com/blog/1570652 虽然session机制在web应用程序中被采用已经很长时间了,但是仍然有很多人不清楚session机制的本质,以至不能正确的应用这一技术。本文将详细讨论session的工作机制并且对在Java web applicat 阅读全文
posted @ 2016-05-04 15:00 坚哥威武 阅读(144) 评论(0) 推荐(0)
摘要: 项目启动报错,没有导入HttpServletRequest的jar包,右击项目名-》build path—》configure build path—》add libraries —》Server Runtime—》 Apache Tomcatv7.0 阅读全文
posted @ 2016-05-04 13:17 坚哥威武 阅读(3772) 评论(0) 推荐(1)
摘要: 今天使用eclipse新建一个jsp页面,可是页面的顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法是:1、右击web工程-》属性或Build Path-》 阅读全文
posted @ 2016-05-04 10:44 坚哥威武 阅读(207) 评论(0) 推荐(0)
摘要: 写了一个struts2的项目,导入jar包后正常运行,当我再创建一个action的类时,去报错: There is no Action mapped for namespace [/] and action name [runAction] associated with context path 阅读全文
posted @ 2016-05-04 09:59 坚哥威武 阅读(150) 评论(0) 推荐(0)
摘要: 在移植eclipse项目时,如果遇到“Project facet Java version 1.7 is not supported.”项目中的jdk1.7不支持。说明项目是其他版本jdk编译的,在eclipse里运行时会报版本不支持。解决办法:法1,选中项目 Properties , 选择 Pro 阅读全文
posted @ 2016-05-04 08:49 坚哥威武 阅读(158) 评论(0) 推荐(0)