|
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";
|