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

Why are frameworks used?

996


What is the purpose of @beforeresult annotation?

1017


How do you convert struts to springs?

1049


What is difference between lookupdispatchaction and dispatchaction?

1116


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

866


What is the use of forwardaction?

1013


What is the purpose of execute method of action class?

979


Why is action servlet a singleton in struts?

1090


What is role of actionservlet?

1028


What is the use of namespace in action mapping in Struts2?

1056


Explain about the future of struts?

946


How can we upload files in Struts2 application?

1028


How interceptor works in struts 2?

1044


Why it called struts?

952


Why are springs better than struts?

1143