Announcement Announcement Module
Collapse
No announcement yet.
use of classpath: in DispatcherServlet Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • use of classpath: in DispatcherServlet

    It seems that the classpath: directive can not be used to specify the servlet-context.xml inside the DispatcherServlet definition. Can anyone confirm or deny this for me? Thanks.


    <servlet>
    <servlet-name>edu-core</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>
    <init-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:conf/spring/servlet-context.xml</param-value>
    </init-param>

    <load-on-startup>2</load-on-startup>
    </servlet>
Working...
X