aspose file tools
The moose likes Struts and the fly likes one view but different Actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "one view but different Actions" Watch "one view but different Actions" New topic

one view but different Actions

Haritha Gorijavolu

Joined: Feb 18, 2011
Posts: 21

Hello. I am a struts beginner. Struts emphasizes that there be only one Action associated with each "Submitting" View. So, if I wanted to build a page where the user has numerous options, how do I do it?
Sanal Samuel

Joined: Jul 23, 2010
Posts: 8
i guess your saying that you need to work with multiple actions for a submitting form.For eg.If you want to apply some business logic you can apply it in your action class and then accordingly redirect to another action.Hope it helps.
It is sorta covered in the JavaRanch Style Guide.
subject: one view but different Actions