We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?
Answer Posted / sujatha
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 ? | 11 Yes | 0 No |
Post New Answer View All Answers
State the significance of public, private, protected class?
What is instance example?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
How do you convert bytes to character in java?
What is user defined exception in Java?
What is jvm? Why is java called the platform independent programming language?
What do you understand by access specifiers in Java?
What is lazy programming?
Why is stringbuffer not immutable?
Describe the term diamond problem.
When would you use a static class?
What does opcode mean?
How to check if a list is sorted in java?
Difference between collection, collection and collections in java?
What causes memory leak in java?