DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Configure The Spring Remote Service Servlet Properly

01.13.2010
| 2488 views |
  • submit to reddit
        // if the load-on-startup param does not configured,the remoting service may
// be failed under some conditions.
         <servlet>
		<servlet-name>remoting</servlet-name>
		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
		 <init-param>
          <param-name>contextConfigLocation</param-name>
          <param-value>/WEB-INF/remoting-config.xml</param-value>
        </init-param>
        <load-on-startup>2</load-on-startup>
	</servlet>