File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets

 
Abhishek Asthana
Ranch Hand
Posts: 146
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic