kosam

任重道远 毋忘奋斗

导航

随笔分类 -  ssh

java.lang.NoClassDefFoundError: com/opensymphony/xwork2/config/FileManagerProvider
摘要:严重: Exception starting filter struts2java.lang.NoClassDefFoundError: com/opensymphony/xwork2/config/FileManagerProvider at org.apache.struts2.dispatch... 阅读全文

posted @ 2013-06-15 08:54 kosam 阅读(1238) 评论(0) 推荐(0)

hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*
摘要:hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*在写配置的时候出现这个问题,解决方法:将hibernate-mapping换成hibernate-config... 阅读全文

posted @ 2013-05-24 16:30 kosam 阅读(294) 评论(0) 推荐(0)

hibernate配置文件hibernate.cfg.xml的详细解释
摘要:hibernate配置文件hibernate.cfg.xml的详细解释 com.mysql.jdbc.Driver jdbc:mysql://localhost/hibernate root 1... 阅读全文

posted @ 2013-05-24 15:37 kosam 阅读(155) 评论(0) 推荐(0)

struts2从请求取值的三种方式
摘要:Struts2作为WEB框架,必不可少的需要请求中取值。(我在这里说是从请求中取值对于一些读者可能有些晦涩,其实如果我说从页面取值可能就好理解一点了,但除了从已经存在的页面里面能够给后台传值,在地址栏里也可以传,甚至在java代码里也是可以的。)这里就谈谈struts如何从请求中取值。我介绍三种方式... 阅读全文

posted @ 2013-05-23 01:06 kosam 阅读(338) 评论(0) 推荐(0)