![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSH
文章平均质量分 58
公子七
吾爱吾师,吾尤爱真理
展开
-
VM安装小问题哦哦
最好的学习资料网站,值得一看!!http://www.toceanedu.com/翻译 2015-07-02 23:20:27 · 339 阅读 · 0 评论 -
ssh与ajax结合之json异常:org.apache.struts2.json.JSONException
+=======================注意看红色字体,对你有帮助,吓到我赶紧去吃个苹果压压惊,果然问题出处在此!!!!================================在ssh和ajax结合实现异步传输时,经常会出现的一个问题是,json格式的数据从后台传递到页面后无法解析,下面的data即是回调函数中参数,在页面断点后会看到data接收到的是下面一转载 2016-06-12 15:59:05 · 1112 阅读 · 0 评论 -
org.springframework.web.context.ContextLoaderListener
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListene 1.原创 2016-06-04 17:14:57 · 553 阅读 · 0 评论 -
There is no Action mapped for namespace [/] and action name [login] associate解决办法 .
There is no Action mapped for namespace [/] and action name [login] associate解决办法 . 今天闲着没事就写了一个JSP项目,在配置struts2时遇到了这个错误,在网上逛了一大圈后终于解决了这个问题。具体解决方法是:1、struts.xml的名字和位置 这里特别提一点,很多人遇到这转载 2016-05-23 15:21:06 · 8920 阅读 · 1 评论 -
sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class、唔觉得我写的;你们还是不用翻译stackoverflow 的解释好点·//public class PostDaoImpl extends BaseDaoImpl implements PostDao{翻译 2016-06-08 17:23:30 · 7136 阅读 · 0 评论 -
SSH开发常用常见的src下建的包名
懂得包名的含义,对做开发以及看别人的源码非常方便!!com.公司名.项目名.action 写控制逻辑,客户发送请求到此处,经过处理(如数据库操作),将接口返回给客户。com.公司名.项目名.dao 数据库操作的方法。com.公司名.项目名.daoImpl 数据库操作的方法的具体实现com.公司名.项目名.service 业务逻辑的方法co转载 2016-05-22 11:05:11 · 2463 阅读 · 0 评论 -
SSH学习笔记
struts 是 web 框架 (jsp/action/actionfrom)hibernate 是 orm框架,处于持久层.spring 是容器框架,用于配置bean,并维护bean之间关系的框架原创 2016-05-22 10:44:31 · 323 阅读 · 0 评论 -
node to traverse cannot be null!
node to traverse cannot be null! 网上说的大概都是: hibernate 的HQL语言做查询出现的空返回值的错误,有可能是HQL语句写错了;我写的却是这个错误:如图所示:(哈哈,想起高考结束的理综题目也是——如图所示,物理用的最多,哈哈哈),回首已经3年了!!!祝你们如愿上自己理想的学校、原创 2016-06-08 15:16:53 · 354 阅读 · 0 评论 -
jbpm Could not execute JDBC batch update jbpm部署流程定义到MySql报乱码解决方案
jbpm Could not execute JDBC batch update编码没有统一 utf8的确会报一些莫名的错还好jbpm的解决方案挺多的 问题起因:我在使用ant将流程定义和流程相关资源部署到JBPM数据库中的时候,报了下面一个错误。 错误提示,大概是:11:33:40,781 ERROR JDBCExcept转载 2016-06-23 22:12:51 · 791 阅读 · 0 评论 -
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/l
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/lMyEclipse整合免安装版的Tomcat7,------>看图吧最后这个就可以在myeclipse里,使用你的tomcat,而不是用.bat打开!!!!原创 2015-12-18 10:57:04 · 26095 阅读 · 1 评论 -
There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context path [/shop]. - [unknown location]at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultAc原创 2016-05-27 20:10:29 · 631 阅读 · 0 评论 -
Bean property 'productService' is not writable or has an invalid setter method. Does the parameter t
Bean property 'productService' is not writable or has an invalid setter method. Does the parameter type o f the setter match the return type of the getter?setter match the return type of the原创 2016-05-25 21:02:06 · 459 阅读 · 0 评论 -
SSH框架开发流程步骤
一个大致的SSH框架开发流程步骤:(1)web容器启动------>加载spring配置进行初始化.spring配置中引用hibernate文件加载..加载strusts控制器等等一系列的初始化------>客户端发送请求------>strust拦截请求------>相应action处理请求------>service层业务逻辑处理------>hibernate负责数据交换--原创 2016-05-24 20:19:02 · 15111 阅读 · 4 评论 -
request的setAttribute()怎么用的?
request.setAttribute()怎么用的?JSP1代码String [] test=new String[2];test[0]="1";test[1]="2";request.setAttribute("test",test) ;response.sendRedirect("jsp2.jsp");JSP2代码String test[]=(String[]转载 2016-07-03 23:31:04 · 2944 阅读 · 0 评论