2 forms and 2 servlets
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?
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.