adspace
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
What is a classloader in java?
explain different ways of using thread? : Java thread
What is the difference between equals() and == in java?
Write a program to print count of empty strings in java 8?
What is an object in java and how is it created?
What is parsing in java?
What is java string pool?
Explain public static void main(string args[]) in java.
Differentiate between static and non-static methods in java.
What is a constructor overloading in java?
What is the difference between break and continue statements?
What do you mean by an interface in java?
Write a program to find the whether a number is an Armstrong number or not?
How to create a base64 decoder in java8?
What are the differences between heap and stack memory in java?