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...

When wil use singleton class in Struts

Answer Posted / sekhar babu

No, It will create Instance of Action Class for each
request, internally it will use Single-ton Design pattern
for the ActionServlet.

In Action class we will actully write business logic, so
Action class is not SingleTon only ActionServlet is singleton

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of constant tag in struts.xml?

996


What is interceptor in Struts2?

1026


List the important attribute and elements of action mapping under struts.

1032


What do you mean by a custom tag?

1000


Is struts action class singleton?

1046


What is the apache struts vulnerability?

1002


What is the purpose of struts.xml in struct2?

1177


What are the two different types of validations that the validator framework supports?

1006


Why do we need mapdispatchtoprops?

911


How action mapping is configured in Struts?

1148


What is struts actionmapping?

991


What is the purpose of @createifnull annotation annotation?

1082


What is difference between lookupdispatchaction and dispatchaction?

1161


What is struts in java with example?

1000


Can we have multiple struts config files in a single web app?

988