Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many types of action clases are there in stuts and
their uses?

Answer Posted / ramakrishna goud.n

Different types of action classes
1).Action Class
2).IncludeAction Class
3).ForwardAction Class
4).DispatchAction Class
5).LookUpDispatchAction Class
6).SwitchAction Class

In this we use the Action Class for implementing the
business logic

We use the IncludeAction,ForwardActions,
Suppose if you want to use your servlet application or jsp
application(which are developed previously and u want to
resue it ) should follow the struts MVC pattern then you
can acheieve that using these classes

We use the DispatchAction when you want have to perform
multiple actions through one form

We can use the switchAction when you want to use the
resources from other modules of your struts application

LookupDispatchAction is similer to DispatchAction.

this information is very useful to the guys who has the
intrest to learn struts
All the best.........

Is This Answer Correct ?    17 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the differences between struts1 and struts2?

988


What is the purpose of @conversion annotation annotation?

1325


What are pull and push mvc architecture and which architecture does struts2 follow?

972


Name some of the features of struts2?

1096


How can you create your custom interceptor in struts 2?

997


What is interceptor struts2?

1067


What is role of actionservlet?

1072


What are the advantages of spring mvc over struts mvc?

983


What is actionform in struts?

1082


What is the purpose of execute method of action class?

1023


What are the applications of struts?

1004


How struts2 supports internationalization?

1182


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

1066


How many struts config file can be created in struts?

948


What is struts2 in java?

1117