• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlets

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I moving this question to the Servlet forum, please continue your discussion there.
Thank you.
Balaji
 
reply
    Bookmark Topic Watch Topic
  • New Topic