aspose file tools*
The moose likes Servlets and the fly likes Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets" Watch "Servlets" New topic
Author

Servlets

Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
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

Joined: Nov 05, 2004
Posts: 12
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.


"Where there's a will, I want to be in it."
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
I moving this question to the Servlet forum, please continue your discussion there.
Thank you.
Balaji


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets