File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Regrading Struts Action?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regrading Struts Action??" Watch "Regrading Struts Action??" New topic

Regrading Struts Action??

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276

I am beginner in Struts.
I want to make a user maintainance module that will add users,modify users,view users,delete users..

Now what i want to do is define a single Action class for all the operations.From that Single action i want to select the operation & let its respective model do the data access & manipulation for the same.

So how can i do this?? Please suggest some other ways (means other designs) for doing the same .


The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Go for DispatchAction
Uma Mahi
Ranch Hand

Joined: Jan 11, 2006
Posts: 34
Have a Look at this

Umaa Mahi<br />--SCJP1.4
It is sorta covered in the JavaRanch Style Guide.
subject: Regrading Struts Action??
Similar Threads
Refresh Problem : same action gets called
Browser bug?
one action class entry for multiple action paths in struts
[URGENT]Problems with Struts and Tiles
simple struts app made confusing by documentation