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 is string args [] in java?

550


Is main a keyword in java?

545


How do I get the | symbol on my keyboard?

599


What is meant by the value of a variable?

462


What is immutable in java?

557






What is the use of a copy constructor?

579


What is computer compiler?

547


What does the string method compareto () do?

546


What is instance example?

527


Explain about core java?

637


How do you create an array in java?

541


What is thread safe singleton?

532


What are different types of states exist for a thread?

557


Which variables are stored in heap?

549


What is map in java?

526