We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?
Answer Posted / babu
ya u can write your java logic's Jsp or u can use Jsp action
tags to implement the business logic. But if u do like this
your source code may be viewed and used by the others, for
restricting or preventing your source code we are using mvc
architecture like in struts so that's why we don't want to
write java code in Jsp.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Who is founder of java?
What is lambda in java?
What is linked hashset and its features?
What is style and indentation?
What is a final class ?
How many types of design patterns are there?
How thread scheduler schedule the task?
What two classes are used to read data only?
Is int primitive data type?
What are the advantages of assembly language?
Differentiate between array list and vector in java.
What is the difference between hashmap and hashtable in java?
Why do we need wrapper classes?
Say any two properties in beans?
Define Multiprogramming and Multiprocessing in java.