Announcement Announcement Module
No announcement yet.
Two forms in one jsp page Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Two forms in one jsp page

    In Spring-MVC usually the name of the action is not mentioned in the form tag of the jsp.

    I need two forms in one single jsp page. What's the best way to handle this case? When submitted from either of the form, the same page is displayed with some data.

    Ideally I would like to have two different controllers since the two forms are not so closely related still I want them in the same jsp page. Should I hardcode the name of the action class in the jsp?

  • #2
    You might find useful.
    Last edited by robyn; May 16th, 2006, 04:03 AM.