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
What is structure of java heap? What is perm gen space in heap?
What are the object and class classes used for?
Which is bigger float or double?
what do you mean by stream pipelining in java 8? Explain
What is the difference in between cpp and java? Can u explain in detail?
What access modifiers can be used for variables?
What is a java developer salary?
Which programming language is best in future?
What are the types of inner classes (non-static nested class) used in java?
Why are constructors used?
What are the different types of constructor?
Can variables be used in java without initialization?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is the purpose of the system class in java programming?
How do you create a method in java?