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

We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?

Answer Posted / kaushik

JSPs are translated into Servlets which renders data from
the DAO/Back-End classes on the client page. The job of
Servlet/Servelet Container is to facilitate/give developer
an option to manipulate what servlet container does as well
as use the request/response/session etcetera objects.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different ways of object creation in java ?

1153


Give an example of use of pointers in java class.

1072


Can we clone singleton object?

1125


What are serialization and deserialization?

1316


What is OOP's Terms with explanation?

1240


What is the difference between compare and compareto in java?

1105


What is outofmemoryerror in java?

1075


How do you add spaces in java?

1063


How can you set the applet size?

1105


What is regex java?

1167


What is arraylist e in java?

1112


Compare overloading and overriding?

1059


Why can we not override static method?

1148


Why map is used in java?

1084


Write a function to find out longest palindrome in a given string?

1118