锦囊集
文章平均质量分 57
gsc972886992
这个作者很懒,什么都没留下…
展开
-
ServletContext 问题
错误 : The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files 解决方案: 把tomcat/lib目录中的servlet-api.jar导入到项目的web/lib目录下原创 2013-11-03 11:14:51 · 491 阅读 · 0 评论 -
A child container failed during start
可能是tomcat 出的问题 我的解决方案是:换jdk、 tomcat 、eclipse 1、Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig() 解决方案看 org.apache.catalina.startu原创 2013-11-03 13:17:44 · 652 阅读 · 0 评论 -
异步加载出现显示乱码
$(function(){ // 加载部门(异步请求) //getJSON (url,data,function(){}) 相应数据是json格式 // url : 发送请求地址。 // data: 待发送 Key/value 参数。 // callback: 载入成功时回调函数。 $.getJSON("${ctx}/ad原创 2013-11-07 20:48:40 · 536 阅读 · 0 评论