why business logic written using servlets not in jsp. Jsp
used for presentation purpose. serlvet used for coding
business logic and controller logic. Reason for using
servlets in business logic.
Answer Posted / rajesh
In servlets we have resource for developing the business
logic but Jsp have the tags for present the output clerly.
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is the difference between using getSession(true) and getSession(false) methods?
Why is http protocol called as a stateless protocol?
What is the life cycle of a servlet?
What exactly is a servlet?
What is a cookie What is the difference between session and cookie
Where do you define dispatcherservlet?
What are the types of servlet?
What is the difference in between the httpservlet and generic servlet?
What are the types of Session Tracking ?
What do you mean by cgi and what are its drawbacks?
Which is better jsp or servlet?
How do we share data using 'getservletcontext ()?
What is new in ServletRequest interface ? (Servlet 2.4)
How is a servlet implemented in code?
How can we invoke another servlet in a different application?