I m using spring and jsp.in my jsp i am ahving 1 button and 2 links.by clicking the button and link it will perform some function and remain in the same page.so i m using single controller which extends multiactioncontroller.i done the url mapping as
<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<props>
<prop key="/adminhomepage.htm">adminHomePageController</prop>
</props>
</property>
</bean>
now i need to map different methods to button and link in the jsp page to perform different actions.anybody help me on this???
You can use javascript like,
and for link,
this is what I guessing from your need, and you can use annotations to perform different actions accordingly. It will helpful if you provide the source code for jsp and controller.