Announcement Announcement Module
Collapse
No announcement yet.
Two forms in one jsp page Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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 http://forum.springframework.org/showthread.php?t=10379 useful.
    Last edited by robyn; May 16th, 2006, 04:03 AM.

    Comment

    Working...
    X