Spring MVC and Weblogic integration
- by Jeune
I get this error whenever I try to view my tutorial app in the browser
WARNING: No mapping found for HTTP request with URI [/HelloWorld.Web] in DispatcherServlet with name 'dispatcher'
That just means the request is being received by the dispatcher servlet but it can't forward it to a controller.
But I can't seem to know where the problem is. I think I've mapped this correctly:
<bean id="urlMapping"
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<props>
<prop key="/HelloWorld.Web">indexController</prop>
</props>
</property>
</bean>
<bean id="indexController" class="com.helloworld.controller.IndexController">
<property name="artistDao" ref="artistDao"/>
<property name="methodNameResolver">
<bean class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
<property name="alwaysUseFullPath" value="true"/>
<property name="mappings">
<props>
<prop key="/HelloWorld.Web">getAllArtists</prop>
</props>
</property>
</bean>
</property>
</bean>
I am using Spring 2.5.6 and Bea Weblogic Server 9.2