|
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.
|