Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets

 
Abhishek Asthana
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I am facing some problem with a Servlet program.

I have written a HTML page which has a form. Now I want that this form calls different servlets when the button is pressed, depending on the what values are selected in the form.
How to do this?
Please help.
IJ
 
Abhimanyu Kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Indiana Jones:

I have written a HTML page which has a form. Now I want that this form calls different servlets when the button is pressed, depending on the what values are selected in the form.


Hi,
Depending upon the criteria ( say values in the select box or may be values of radio buttons/ select boxes) , change the action of the form using javascript.
Hope that helps

-Abhimanyu.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I moving this question to the Servlet forum, please continue your discussion there.
Thank you.
Balaji
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic