File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

Joined: Mar 06, 2001
Posts: 13459

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

I agree. Here's the link:
subject: How to submit a form in struts like this?
Similar Threads
DispatchAction in struts 1.1
regarding refreshing the parent window
How to refresh the main window once we close the popup
Edit Box in JSF
How to submit a form like this, using struts?