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
Why do we need data structure in java?
What is a null point?
What is a variable in java?
How do you define a variable?
What does s mean in regex?
what is predefined function in java?
How does split work in java?
How many types of exception can occur in a java program?
How is abstraction implemented in java ?
What do you mean by platform independence? What is an interface?
Can we use switch statement with strings?
Explain the difference between abstraction and encapsulation.
What is meant by string is immutable?
What are the principle concepts of oops?
Can we override constructors in java?