`
qiqi1982mm
  • 浏览: 34011 次
  • 性别: Icon_minigender_2
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表
1.在用Hibernate进行查询时,出现这样的错误: Exception in thread "main" java.lang.NoClassDefFoundError: antlr/ANTLRException 是因为Hibernate3.0与2.0有所不同 增加了antlr-2.7.6.jar这个包,需要加上这个包 2.css文件在home包的webroot下面 3.webx的内部重定向和外部重定向   内部:从页面A直接跳转到页面B   代码:rundata.setRedirectTarget("viewUser.vm");   外部:页面A跳 ...
一些老要用的代码,写下来,年纪大了,记不住,hoho for (Iterator i = groups.iterator(); i.hasNext();) { Group group = (Group) i.next(); System.out.println(group.get**()); } 2.String int 的互相转换 String test="1"; int i=Integer.parseInt(test); int i=1; String test=Integer.toString(i); http://hi. ...
1.struts+spring+hibernate框架下错误:No WebApplicationContext found: no ContextLoaderListener registered 解决方法:在web.xml中加入语句 <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> 2.The requested resource (Servlet action is not ...
1.struts的架包说明 http://blog.csdn.net/suanqing/archive/2005/12/06/545120.aspx
1.项目组长推荐的资料 http://developer.51cto.com/art/200704/45876.htm 2.另外还有一篇,关于hibernate继承 http://www.iteye.com/topic/17978 3.hibernate里面关于集合的几种型式,如set/list等 http://janwer.iteye.com/blog/136945 4.hibernate的几种常用主键自增方式   a.assigned:   <id name="IGradeSeqno" type="java.lang.Integer"> ...
1.怎么导出powerdesigner里面的sql语句呢? a.connection数据库   connect时可能没有你想要的数据库,那么必须选择"add",则可以新建一个数据库 b.选择"generate datebase"   在"selection"选项里面选择你要导出的包 2.几个数据库链接的语句 a. MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jar Class.forName( "org.gjt.mm.mysql.Driver" ); cn = ...
1.经常听到java中工厂模式的应用,但总是一知半解,下面有几篇讲的比较好的链接: 概念:根据调用数据返回某一个类的实例 http://hi.baidu.com/youxiandeboshi/blog/item/171e29513e02932043a75b29.html 2.spring数据库连接,写的挺详细的 http://blog.csdn.net/sslaowan/archive/2007/02/21/1512380.aspx
Global site tag (gtag.js) - Google Analytics