Spring零配置DemoJavaConfig
采用注解配置SpringMVC,有SpringSecurity,Dao,Controller,Servlet等的样例,部分代码:
publicvoidonStartup(ServletContextservletContext)throwsServletException{
//日志文件配置
servletContext.setInitParameter("log4jConfigLocation","classpath:log4j.xml");
servletContext.setInitParameter("log4jExposeW
下载地址
用户评论
总是报错 没跑起来