|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
2 forms and 2 servlets
hi!
i have a HTML document which has 2 forms, form1 and form2. each of those have submit buttons. I want to access 2 seperate servlets when i click on those 2 different submit buttons. its doesnt seem to be working. but when i have just 1 form in my HTML document and have this foll command it works fine: <form name=Form2 METHOD=GET ACTION="servlet/HelloWorld"> ghow do i make this work when there is more than 1 form in the HTML document? |
|
#2
|
|||
|
|||
|
Two forms in a document having different actions should work fine. You cannot embed one form in another. Post your code complete and mayeb we can help you better.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > 2 forms and 2 servlets |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|