We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?

Answer Posted / guest

it reduces coupling so that code changes can be done easily

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an i/o filter?

565


Is passing by reference faster?

523


Is intellij better than eclipse?

541


Define max and min heap, also the search time of heap.

591


What are access specifiers available in java?

579






What is static synchronization?

575


Can we declare the static variables and methods in an abstract class?

546


What is Hierarchy of exception?

647


What is collection class in java?

546


Explain the usage of this with constructors?

530


What is the file extension for java?

612


Is list thread safe in java?

491


What is difference between equal and == in java?

521


Can you explain the final method modifier?

569


Is special character in java?

616