摘要: 目前在做一个网络应用程序,struts2 + spring + hibernate,服务器是tomcat。希望用户在IE地址栏乱敲的时候,所敲入的所有未定义的URL都能被程序捕捉到,然后转到一个自制的404错误处理页面。 首先查阅网上的资料,得知可以在web.xml中加入这么一段: 40... 阅读全文
posted @ 2013-12-09 20:37 宋建国 阅读(264) 评论(0) 推荐(0)
摘要: 错误 : Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in t... 阅读全文
posted @ 2013-12-09 08:44 宋建国 阅读(123) 评论(0) 推荐(0)
摘要: 在移植eclipse项目时,如果遇到 “Project facet Java version 1.7 is not supported.” 项目中的jdk1.7不支持。说明项目是其他版本jdk编译的,在eclipse里运行时会报版本不支持。 解决办法: 法1,选中项目 Proper... 阅读全文
posted @ 2013-12-09 08:20 宋建国 阅读(141) 评论(0) 推荐(0)