Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Submitting Multiple Forms From A Single Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Submitting Multiple Forms From A Single Page" Watch "Submitting Multiple Forms From A Single Page" New topic
Author

Submitting Multiple Forms From A Single Page

Ayan Biswas
Ranch Hand

Joined: Jul 10, 2010
Posts: 104
I have 2 forms in a single page.Each form data should go to 2 methods in 2 separate action classes.
form1

form2

javascript functions

But the 2nd form does not get submmitted.Can anybody tell me how to deal with it?


AyanBiswas
Rebecca Hopper
Ranch Hand

Joined: Aug 19, 2001
Posts: 38

Instead of:



You should have:



SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Submitting Multiple Forms From A Single Page
 
Similar Threads
form bean value not getting
Struts 1 :- Two Form submission from one jsp using one submit button
Help needed with IE 6.0 submit
img tag empty src attribute causes duplicate form submission
Struts 1