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

Main reasons for using servlet as a controller in struts.
why not jsp

Answer Posted / rajesh r

As per the Jsp spec we should limit the scriptlets usage.

and Jsp is designed for presentation(VIew) part based on
these points it is not recommended to use Jsp as a
Controller.

Regards
Rajesh

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the classes used as part of struts framework ?

946


What is action chaining ?

1066


How exceptions are handled in struts application?

1148


Whats the difference between the default namespace and the root namespace?

973


What is apache struts cve 2017 5638?

959


What are the features of struts?

1004


What is the purpose of form-beans tag in struct-config.xml?

902


Provide some important Struts2 constants that you have used?

994


Can we have more than one struts-config.xml file for a single struts application?

912


What is Custom Type Converter in Struts2?

1086


What is purpose of execandwait interceptor?

1076


Why we use struts in java?

909


How is a lookup dispatch action created?

993


What is difference between interceptors and filters?

1017


What do you mean by tiles in struts?

1023