- 博客(7)
- 资源 (2)
- 收藏
- 关注
转载 spring mvc提交日期类型参数
如题,spring mvc直接提交Date类型参数会报错,400 bad request的错误。在controller里加上 @InitBinder protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { //
2015-10-28 09:18:37 3195
使用file配置PropertyPlaceholderConfigurer的location属性
Spring中,一般使用classpath:来配置PropertyPlaceholderConfigurer的location属性,今天想通过文件路径的方式进行配置,尝试了多次,发现似乎是只支持绝对路径方式,格式是:file:文件路径。配置如下: [code="java"] [/code] 不知道谁还有没有更好的办法可以支持file:的相对路径。...
2011-08-16 16:31:11 229
原创 acegi的objectDefinitionSource为什么可以接受string类型!??
http://www.iteye.com/topic/165714
2011-08-14 11:58:10 125
原创 Spring中ref local与ref bean区别
今天在做SSH框架Demo实例时,在ApplicationResources.properties文件时对与感到不解,经查找资料才弄明白,如下: [code="java"] < bean id = "userDAOProxy" class = "org.springframework.transaction.interceptor.TransactionPro...
2011-08-14 00:53:50 274
原创 兼容不同浏览器的 Adapter 适配层
[code="js"] // 兼容不同浏览器的 Adapter 适配层 if(typeof window.XMLHttpRequest === "undefined") { window.XMLHttpRequest = function(){ return new window.ActiveXObject(navigator.userAgent.indexOf("MSIE 5")...
2011-08-04 15:20:51 155
jquery.json-2.4.js
2015-05-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人