This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Looking for use of buttons in struts not associated with a form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Looking for use of buttons in struts not associated with a form" Watch "Looking for use of buttons in struts not associated with a form" New topic
Author

Looking for use of buttons in struts not associated with a form

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
I am looking for a example of using a button in strusts such as save document which will then create an save a document.

All the examples I have seen are of the form variety where the ww.form action="actionName" which then maps to the acttion method with action name.

I need a similar example of a button mapping to an action but not via a form.

Cheers for any help

Tony
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
If its not possible an buttons have to be associated with a form to map to a method on an action please tell me so That I can work some sort of form out.
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
Tried







But it doesnt work thanks for any help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking for use of buttons in struts not associated with a form
 
Similar Threads
what does redirect attribute of action forward do when set to false
Need help with creating a button that is not associated with a form
Servlet to Backing bean
submit buttons in form
Spring MVC design help