File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: one view but different Actions
It's not a secret anymore!