aspose file tools*
The moose likes Servlets and the fly likes How to submit a form in struts like this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

How to submit a form in struts like this?

jaman tai
Ranch Hand

Joined: Sep 26, 2005
Posts: 37
I have a form having 3 buttons. One is �Approve�, one is �Reject� and one is �Back�. If click Approve, update db directly and back. If click �Reject�, pup up a small window to ask the reject reason. (I am using javascript�s windows.open) after input the reason and click �go�, close the small window, update db and the original page goes back. If click �Back�, go back directly. How can I design this page? I know a little about LookupDispatchAction. Can anybody help me? Thanks a lot!
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums, it creates duplicate conversations.

thanks,
Dave.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to submit a form in struts like this?