ITeye博客

spring-mvc.xml

dengwenjun · 2014-11-28 08:58 · 企业架构 · Markdown

[code="java"] text/html;charset=UTF-8 UTF-8 32505856 4096 [/code] spring-mybatis.xml [code="java"] com.vanceinfo.javaserial.services.* [/code] [code="java"] [/code] [code="java"] driverClassName=com.mysql.jdbc.Driver validationQuery=SELECT 1 jdbc_url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull jdbc_username=root jdbc_password=1234 sessionInfoName=sessionInfo uploadFieldName=filedata uploadFileMaxSize=20971520 uploadFileExts=txt,rar,zip,doc,docx,xls,xlsx,jpg,jpeg,gif,png,swf,wmv,avi,wma,mp3,mid uploadDirectory=attached com.vanceinfo.emailtemplate/myEmail=emailtemplates/myEmail.vm com.vanceinfo.emailtemplate/myEmaillogo=emailtemplates/FlyingBird.jpg com.vanceinfo.emailtemplate/sendMailHost=smtp.gmail.com com.vanceinfo.emailtemplate/sender=kingnaliu@gmail.com [/code] web.xml [code="java"] mybatis contextConfigLocation classpath:spring.xml,classpath:spring-mybatis.xml,classpath:spring-mvc.xml,classpath:spring-scheduler.xml 字符集过滤器 encodingFilter org.springframework.web.filter.CharacterEncodingFilter 字符集编码 encoding UTF-8 encodingFilter /* spring监听器 org.springframework.web.context.ContextLoaderListener org.springframework.web.util.IntrospectorCleanupListener spring mvc servlet springMvc org.springframework.web.servlet.DispatcherServlet spring mvc 配置文件 contextConfigLocation classpath:spring-mvc.xml 1 springMvc / /index.jsp 15 log4jConfigLocation classpath:log4j.xml org.springframework.web.util.Log4jConfigListener [/code]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。