View Single Post
  #3 (permalink)  
Old 01-22-2008, 12:47 PM
loveshore loveshore is offline
Member
 
Join Date: Jan 2008
Posts: 2
loveshore is on a distinguished road
Sandor,
As 'derricD' mentioned, submit is not a good option here. You can have two separate command buttons instead of submit. On button click you can call a javascript method, specify the servlet path as follows

document.all.form.attributes["action"].value = "\your servlet path here";
Reply With Quote