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
Compare overloading and overriding?
Can a static method be final?
Difference between this() and super() ?
What are java annotations?
What is the purpose of the system class in java programming?
What are 3 data types?
How do you escape a string?
Is a boolean 1 bit?
What is the console in java?
Describe the various concepts related to object oriented programming (oop).
Why map is used in java?
What is the purpose of an interface?
Is string an object?
What is parsing in grammar?
What is the purpose of encapsulation?