This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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?
It's not a secret anymore!