Dowemo

The first time you spring spring, Couldn't open [/WEB-INF/springmvc-servlet. Xml ]. No, no, no, no, no. Follow the configuration rules again and don't see the problem. 快哭了 In the web, the internet is, and it's in the web.


<servlet>


 <servlet-name>springmvc</servlet-name>


 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>


 <init-param>


 <param-name>contextConfigLocation</param-name>


 <param-value>/WEB-INF/pringMVC-servlet.xml</param-value>


 </init-param>


 <load-on-startup>1</load-on-startup>


 </servlet>


 <servlet-mapping>


 <servlet-name>springmvc</servlet-name>


 <url-pattern>*.do</url-pattern>


 </servlet-mapping>





Plus, I'll check it again, and I've found it again:

It was originally a tmd to put the file name spring servlet. Xml into the spring mvc servlet, xml, xml, and the real randomization. Fix the problem after changing it!





Copyright © 2011 Dowemo All rights reserved.    Creative Commons   AboutUs