spring
tianmaogen
这个作者很懒,什么都没留下…
展开
-
springMVC 文件上传
springmvc中web-xml中的配置 DispatcherServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/classes/dispatcherServlet.xml 1 DispatcherServlet *.do原创 2013-05-20 17:38:39 · 420 阅读 · 0 评论 -
springMVC jquery 对json 数据的传递
1.下载jquery.json-2.4.min.js 地址是: http://code.google.com/p/jquery-json/downloads/detail?name=jquery.json-2.4.min.js&can=2&q= 2.js部分 var postData = $.toJSON(postdata); //把数组转换成json字符串原创 2013-05-20 16:16:54 · 708 阅读 · 0 评论 -
spring 国际化
见spring官方 DEMO:mvc-basic 1。在spring Bean 配置中加入 //配置文件的位置,如“messages_de.properties”的位置 2。jsp页面 us | gb | es | de en_us :代表英文 对应的文件为 messages_en.properties原创 2013-05-22 14:53:54 · 547 阅读 · 0 评论 -
spring scheduled
1.在 applicationContext.xml 引入命名空间 xmlns:task="http://www.springframework.org/schema/task" 2.在xsi:schemaLocation(bean里面)加入 http://www.springframework.org/schema/task http://www.springframework.org/sc原创 2013-05-23 11:49:37 · 826 阅读 · 0 评论 -
jquery 异步传输与spring mvc
参数名 类型 描述 url String (默认: 当前页地址) 发送请求的地址。 type String (默认: "GET") 请求方式 ("POST" 或 "GET"), 默认为 "GET"。注意:其它 HTTP 请求方法,如 PUT 和 DELETE 也可以使用,但仅部分浏览器支持。 timeout Num原创 2013-05-14 15:21:55 · 920 阅读 · 0 评论 -
Spring MVC 转换器
FormattingConversionServiceFactoryBean http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/format/support/FormattingConversionServiceFactoryBean.html#installFormatters(or原创 2013-06-09 18:10:50 · 753 阅读 · 0 评论