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
How can you set the applet size?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What is static class
Explain polymorphism citing an example.
what happens when a thread cannot acquire a lock on an object? : Java thread
Why java is used everywhere?
What is floor in java?
Why do I need to declare the type of a variable in java?
Is hashset ordered?
What is externalizable?
What are bind parameters?
What is the difference between static binding and dynamic binding?
Can we convert stringbuilder to string in java?
How does split work in java?
Is java type safe?