| | |
how to handle multiple forms in jsp
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 5
Reputation:
Solved Threads: 0
JSP Syntax (Toggle Plain Text)
<table width="703" height="474" border="0" align="center" bgcolor="#FFFFFF"> <tr> <td align="center" width="647" height="470"> <form name="form1" method="post"> <table align="center" width="606" border="0"> <tr> <td width="144"> <input name="R2" type="radio" value="radiobutton" /><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">To All User</font></b> </td> <td width="235"> <input name="R2" type="radio" value="radiobutton" /><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">All at Particular Level</font></b> </td> <td width="213"> <input name="R2" type="radio" value="radiobutton" /><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Individual at Particular level</font></b> </td> </tr> </table> <table border="0"> <tr> <td width="57"> </td> <td width="35"> </td> </form> <form> <td width="96"> </td> </tr> </table> </form> </td> </tr> </table>
Is this possible in jsp. I am new to jsp. I have 2 forms in one jsp page. I am trying to get a table with 2 forms. Table have three columns in the table .I am trying to have 2 columns in one form and third in the other form. Is it possible. I have seen many examples related to multiple file hanling but i didnt get any solution. Can anybody help me? Plz... Thanks in advance.
of course you can have multiple forms. It's quite common in fact.
Of course each form stands on its own, don't expect values from one form to be submitted as part of a request generated when submitting another one.
Of course each form stands on its own, don't expect values from one form to be submitted as part of a request generated when submitting another one.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
> I am trying to have 2 columns in one form and third in the other form. Is it possible.
Yes, very much possible. Make sure you have different request handlers defined for each form by using the 'action' attribute of form if you expect selective processing. But your requirement suggests that there is something definitely wrong with your design. Why do you need two forms for a single table anyways?
Yes, very much possible. Make sure you have different request handlers defined for each form by using the 'action' attribute of form if you expect selective processing. But your requirement suggests that there is something definitely wrong with your design. Why do you need two forms for a single table anyways?
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
![]() |
Other Threads in the JSP Forum
- Previous Thread: How do i authentication so that i can send a email through jsp a page
- Next Thread: free jsp web hosting
Views: 2099 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for JSP
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






