We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?
Answer Posted / madhuri
ya u can write your java logics in scriptlet part of jsp or
u can use jsp action tags to implement the business logic.
but its not the good practice to implement the business
logic in jsp's.mainly the use of jsps is to seperate the
presentation logic and business.. so its better to use
jsps only for presentation purpose..u can write business
logic in action classes or in the servlets..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
explain autoboxing in java?
What is the purpose of using break in each case of switch statement?
What are the methods to rectify ambiguities in the interfaces in JAVA?
What is outofmemoryerror in java?
What do you mean by data type?
How concurrent hashmap works?
What is the use of arraylist class in java?
What is passed by reference and pass by value ?
What is incompatible types in java?
What is called module?
What is unsigned char?
Explain about fail safe iterators in java?
What is the advantage of OOP in java?
Can we access the non-final local variable, inside the local inner class?
Is java still relevant?