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
What is a void in java?
Which class contains a method: cloneable or object?
What is starvation?
Explain the hierarchy of java exception classes?
When we serialize an object does the serialization mechanism saves its references too?
What is the largest data type in java?
What are keywords in programming?
Why is the main method declared static?
Is null keyword in java?
How do you start a new line in java?
Is constructor inherited?
Can a variable be local and static at the same time?
What is string length in java?
What are the five major types of reference sources?
How can you add and remove nodes in jtree?