• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Tony Evans
Ranch Hand
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tried







But it doesnt work thanks for any help
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!