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 does .equals do in java?
What is lambda expression in java?
What is method overloading with type promotion?
how to deploy apache tomcat server to weblogic server in java
What does sizeof return?
what is the significance of listiterator in java?
Explain about anonymous inner classes in java?
What is anonymous inner class?
Is null function in java?
What is exception propagation?
How do you remove all elements from an arraylist in java?
java program with complete 4 oops concepts implemented example
How do you bind variables?
What does int [] mean in java?
How do you sort an array in java?