- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 spring管理properties文件加载
spring中property用来存放application的设定值。在applicationContext.xml中load进去,spring中定义了二种方式1. 注解 spring2.5<context:property-placeholder location="classpath*:*.properties"/> spring3.0&...
2014-01-21 14:57:17 93
Hibernate主键生成策略问题
Exception:org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save() 环境:linux+ssh+tomcat+mysq(5.1.68-log) 问题描述:有一张表itme主键id需要assigned,...
2013-07-14 11:20:10 100
forward和redirect的区别
void forward(ServletRequest request,ServletResponse response)forward()方法的调用有两种方式:1.HttpServletRequest.getRequestDispatcher(url).forward(request,response)2.ServletContext.getRequestDispatch...
2012-10-18 23:15:01 117
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人