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


Please Help Members By Posting Answers For Below Questions

Why does my function print none?

516


How many types of java are there?

559


Define interface in java?

605


Name few "optional" classes introduced with java 8 ?

647


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.

1606






What is string variable?

562


What are the loops in java?

525


why would you use a synchronized block vs. Synchronized method? : Java thread

534


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

583


What is tree in java?

489


What is the replace tool?

549


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

486


What is the size of boolean variable?

575


Is arraylist a class in java?

534


what do you mean by classloader in java?

568