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
Which of the classes will have more memory allocated?
What is incompatible types in java?
What is exception hierarchy in java?
List some oops concepts in java?
What is diamond operator in java?
What are encapsulation, inheritance and polymorphism?
What is consumer in java?
What is a default constraint?
What is primitive data type in java?
Can we declare a class as static?
What is dynamic binding(late binding)?
Explain the difference between throw and throws in java?
How to invoke external process in java.
What modifiers may be used with a top-level class?
What is string array?