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 does my function print none?
How many types of java are there?
Define interface in java?
Name few "optional" classes introduced with java 8 ?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is string variable?
What are the loops in java?
why would you use a synchronized block vs. Synchronized method? : Java thread
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What is tree in java?
What is the replace tool?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What is the size of boolean variable?
Is arraylist a class in java?
what do you mean by classloader in java?