学编程吧SpringMVC异常处理发布了,欢迎通过xuebiancheng8.com来访问Spring3.0中对异常的处理方法一共提供了两种:一种是使用HandlerExceptionResolver接口;一种是在Controller类内部使用@ExceptionHandler注解。使用第一种方式可以实现全局异常控制,并且Spring已经提供了一..
分类:
编程语言 时间:
2015-01-09 19:27:51
阅读次数:
176
学编程吧Spring MVC异常处理发布了,欢迎通过xuebiancheng8.com来访问Spring3.0中对异常的处理方法一共提供了两种:一种是使用HandlerExceptionResolver接口;一种是在Controller类内部使用@ExceptionHandler注解。使用第一种方式...
分类:
编程语言 时间:
2015-01-09 19:16:18
阅读次数:
193
转载地址:http://chenfeng0104.iteye.com/blog/796870 //用url参数指定处理方法。如:/user.do?method=execute将调execute方法 //是否重定向(默认值为false)
分类:
其他好文 时间:
2015-01-09 16:46:37
阅读次数:
187
将struts1文件上传的操作汇总了一下,包括单文件上传和多文件上传,内容如下,留作备忘:Struts2实现文件上传的文章(http://blog.csdn.net/itwit/article/details/7031785)1、单文件上传1)JSP页面(singleFileUpload.jsp) ...
分类:
Web程序 时间:
2015-01-08 19:47:35
阅读次数:
227
一、前言:大家好,Spring3 MVC是非常优秀的MVC框架,由其是在3.0版本号公布后,如今有越来越多的团队选择了Spring3 MVC了。Spring3 MVC结构简单,应了那句话简单就是美,并且他强大不失灵活,性能也非常优秀。官方的下载网址是:http://www.springsource....
分类:
编程语言 时间:
2015-01-08 12:47:33
阅读次数:
331
错误代码如下Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/D:/ecli...
分类:
编程语言 时间:
2015-01-06 19:51:18
阅读次数:
503
spring3不支持quartz2 1.业务调度的类(就是你想要做的事情的逻辑部门)
public?class?QuartzTest?{
public?void??quartzTest(){
System.out.println("I?Love?You,?zhuzhu");
}
}
2.写一个job
p...
分类:
其他好文 时间:
2015-01-05 23:31:31
阅读次数:
301
1.支持APP手机应用(android和ios)接口调用
2.全新高大尚HTML5+css3.0+bootstrap开发界面UI,美观漂亮时尚、前沿(自动适配PC、平板、手机(需求微调)屏幕)
3.有ORACLE 和MYSQL ,Spring3.0,4.0版本各一个,一共4套版本全部提供...
分类:
数据库 时间:
2015-01-05 12:34:02
阅读次数:
541
org.hibernate.HibernateException:NoHibernateSessionboundtothread,andconfigurationdoesnotallowcreationofnon-transactionalonehere
org.springframework.orm.hibernate3.SpringSessionContext.currentSession(SpringSessionContext.java:63)1.如果想让spring帮你管理事务..
分类:
其他好文 时间:
2015-01-05 07:12:56
阅读次数:
158
??
1.
Spring-mvc介绍
1.1市面上流行的框架
Struts2(比较多)
Springmvc(比较多而且属于上升的趋势)
Struts1(即将被淘汰)
其他
1.2 spring-mvc结构
DispatcherServlet:中央控制器,把请求给转发到具体的控制类
C...
分类:
移动开发 时间:
2015-01-04 21:25:25
阅读次数:
250