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 are different ways of object creation in java ?
Give an example of use of pointers in java class.
Can we clone singleton object?
What are serialization and deserialization?
What is OOP's Terms with explanation?
What is the difference between compare and compareto in java?
What is outofmemoryerror in java?
How do you add spaces in java?
How can you set the applet size?
What is regex java?
What is arraylist e in java?
Compare overloading and overriding?
Why can we not override static method?
Why map is used in java?
Write a function to find out longest palindrome in a given string?