Announcement Announcement Module
Collapse
No announcement yet.
Using /* mapping for spring dispatcher servlet with OC4J Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using /* mapping for spring dispatcher servlet with OC4J

    I need to know what is the default servlet in this application server (OC4J 10.1.3.3 is the exact version) because I am trying to deploy a web application made with spring mvc (The exact version is 3.1).

    http://static.springsource.org/sprin...ervlet-handler

    And in my spring configuration file I use the following:

    Code:
     <mvc:default-servlet-handler default-servlet-name="?"  />
    In this container not work if you not explicit writes the default servlet name, unless other application servers like Jboss or Weblogic

    Code:
    <!-- Handles all requests into the application -->
    	<servlet>
    		<servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
    		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    		<init-param>
    			<param-name>contextConfigLocation</param-name>
    			<param-value></param-value>
    		</init-param>
    		<load-on-startup>1</load-on-startup>
    	</servlet>
    	<servlet-mapping>
    		<servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
    		<url-pattern>/</url-pattern>
    	</servlet-mapping>
    The code in the web.xml
    Last edited by manuelvalino; Jun 14th, 2012, 03:54 AM. Reason: MORE INFO
Working...
X