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

How can you set the applet size?

1008


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

1066


What is static class

1060


Explain polymorphism citing an example.

1011


what happens when a thread cannot acquire a lock on an object? : Java thread

1028


Why java is used everywhere?

964


What is floor in java?

993


Why do I need to declare the type of a variable in java?

1008


Is hashset ordered?

992


What is externalizable?

1024


What are bind parameters?

998


What is the difference between static binding and dynamic binding?

1059


Can we convert stringbuilder to string in java?

945


How does split work in java?

1005


Is java type safe?

925