![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
lb8607
The Write Less, Do More!
展开
-
Spring 注解
使用Spring2.5的Autowired实现注释型的IOC 161641 使用Spring2.5的新特性——Autowired可以实现快速的自动注入,而无需在xml文档里面添加bean的声明,大大减少了xml文档的维护。(偶喜欢这个功能,因为偶对xml不感冒)原创 2011-09-20 08:55:27 · 226 阅读 · 0 评论 -
log4j与Spring集成
log4j简介 简单的说log4j就是帮助开发人员进行日志输出管理的API类库。它最重要的特点就 可以配置文件灵活的设置日志信息的优先级、日志信息的输出目的地以及日志信息的输出格式。 Log4j除了可以记录程序运行日志信息外还有一重要的功能就是用来显示调试信息。程序员经常会遇到脱离java ide环境调试程序的情况,这时大多数人会选择使用System.out.println语句输出某个变量值转载 2012-11-05 09:56:24 · 170 阅读 · 0 评论 -
Ajax响应中文乱码 [SpringMVC使用@ResponseBody处理Ajax请求]
Spring3.0 MVC @ResponseBody 的作用是把返回值直接写到HTTP response body里。 Spring使用AnnotationMethodHandlerAdapter的handleResponseBody方 法, AnnotationMethodHandlerAdapter使用request header中"Accept"的值和messageCon转载 2012-11-25 17:49:58 · 2952 阅读 · 0 评论 -
Spring MVC的@ResponseBody返回JSON串
Xml代码 需要以下两个jar包: Xml代码 default" /> default" /> default" /> default" /> Java代码 @Requ转载 2012-11-25 17:45:42 · 9277 阅读 · 2 评论 -
springMVC jqPlot ajax数据交互
数据库:mongoDB 框架:springMVC, Spring Data Web前端:JQuery, JQuery EasyUI, jqPlot jqPlot代码: Java代码 $(function() { var tab = $('#index_tabs div[name=realtime_sgt].easyui-tabs转载 2012-11-25 18:14:03 · 839 阅读 · 1 评论