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 are the differences between graph and tree?
Difference between linkedlist and arraylist.
What is meant by class?
What is the difference between a local variable and an instance variable?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What do you understand by the term polymorphism?
Can we create more than one object singleton class?
Is special character in java?
What is the final keyword in java?
Can size_t be negative?
Does java trim remove newline?
Can a static method be overridden in java?
What is the difference between delete and delete[]
What is the type of lambda expression?
What is a boolean structure?