File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes LookUpDispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookUpDispatchAction" Watch "LookUpDispatchAction" New topic


Ranch Hand

Joined: May 29, 2002
Posts: 198
Hi All,

Can I have the same display value for two buttons on different pages which when clicked call two different methods on same action.

To illustrate

I have a one struts action class which is handling various user actions corresponding to various button clicks(I am using popular keymethod concept here).
in application resources

in key method map


when I click on button B ,it called method saveMethod...
I do not want diff display value for these two buttons.
Is there a way out.

I agree. Here's the link:
subject: LookUpDispatchAction
jQuery in Action, 3rd edition