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 / sitaram

JSP is a presentation layer (view). JSP is not a controller.
servlet is controller. because we can manipulate and add the
server-side we can write in the servelt.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @requiredstringvalidator?

996


What is struts2 namespace?

969


What is actionform in struts?

1077


What are result types in struts?

1048


How struts 2 validation works?

1145


How to override the default error message that can come during file uploading process?

1105


For a single Struts application, can we have multiple struts-config.xml files?

1038


Name some of the features of struts2?

1092


How many struts config file in a struts application?

975


Lists the bundled validators in struts?

1066


How can we handle exceptions thrown by application in Struts2?

991


What are the life cycle methods of interceptor?

1022


What is Custom Type Converter in Struts2?

1137


What is the difference between requestaware and servletrequestaware interface?

1094


What is the struts in java?

985