View Single Post
  #2 (permalink)  
Old 05-03-2007, 03:28 AM
derrickD derrickD is offline
Member
 
Join Date: Apr 2007
Location: USA
Posts: 50
derrickD is on a distinguished road
Yes, this can be done but don't use a submit. Just use a regular button and write a JavaScript function that gets called onclick() that sends the request to the appropriate URL mapped to the appropriate servlet.
Another option would be to send the request to the same servlet, but let the servlet delegate to an appropriate action based on the value of the submit request parameter. But, I hate to use an if statement and conditional logic if not needed.
Reply With Quote