踩坑中成长! jquery1.4.1升级到1.4.3 点击添加报错。 一步步调试js,发现是combox使用问题。 前端报错,未声明,js是easyui的所以只有jsp和js用法问题。看了官方用法,瞬间明白。 js: alert("开始执行表单!"); var cc=$('#cc').combobo Read More
posted @ 2020-08-27 15:02 黎明的太阳 Views(1006) Comments(0) Diggs(0)
错误描述:样式没加载出错,还没发起action请求,action有断点,后端无报错。 错误原因:找了好久,知道是url请求路径错误,搞了几次不对。重新对比url发现是路径拼接错误。注意单引号和双引号。 错误实例:var c='<img src='+pageContext+'/images/tt/tu Read More
posted @ 2020-06-03 16:30 黎明的太阳 Views(1045) Comments(0) Diggs(0)
错误的URL。 原因: 图片服务器地址格式错误,fastdfs返回了错误的URL IMAGE_SERVER_URL = http:121.12.25.13/ 正确: IMAGE_SERVER_URL = http://121.12.25.13/ Read More
posted @ 2020-04-12 22:33 黎明的太阳 Views(1157) Comments(0) Diggs(0)
本文基于搭建的ssh框架 Dao层有许多重复的简单的增删改查,可以抽取出来,减少冗余代码。分享一下自己的实现案例。有许多深度好文,这里直接上代码。 只是抽取了出来,别的都不用改。 Dao层: package cn.itcast.dao; import java.io.Serializable; im Read More
posted @ 2020-03-27 21:06 黎明的太阳 Views(250) Comments(0) Diggs(0)
一路踩坑,在bug中成长,与君共勉! 三月 19, 2020 7:51:57 下午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to lis Read More
posted @ 2020-03-19 21:13 黎明的太阳 Views(483) Comments(0) Diggs(0)
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework Read More
posted @ 2020-03-13 18:09 黎明的太阳 Views(1006) Comments(0) Diggs(0)
SSH框架搭建 Spring + Struts + Hibernate Spring 与Struts2整合就是将Action对象交给Spring容器负责创建。 Spring 与Hibernate整合就是将sessionFactory交给Spring来负责维护。Spring负责维护session维护及 Read More
posted @ 2020-03-13 18:04 黎明的太阳 Views(177) Comments(0) Diggs(0)
HTTP Status 500 - Unable to instantiate Action, userAction, defined for 'UserAction_login' in namespace '/'Error creating bean with name 'userAction' Read More
posted @ 2020-03-09 23:27 黎明的太阳 Views(1006) Comments(0) Diggs(0)