posted 17 years ago
yes, I am using multiactioncontroller.
the problem is it is not going into the controller.
here is the xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN/EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="propsResolver" class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
<property name="mappings">
<props>
<prop key="/add.html">add</prop>
<prop key="/view.html">view</prop>
</props>
</property>
</bean>
<bean id="paramMultiController" class="org.springframework.web.servlet.mvc.multiaction.MultiActionController">
<property name="methodNameResolver" ref="propsResolver"></property>
<property name="delegate" ref="addController"></property>
</bean>
<bean id="addController" class="bean.AddController"/>
<bean id="log" class="bean.Formbean"/>
</beans>
here add,view are methods in addcontroller.
help me how to solve.getting 404 error