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 url encoding and url decoding
What must be implemented by all servlets?
What is the difference between using getSession(true) and getSession(false) methods?
What is the structure of the http response
Why is init() method is used in servlets?
Can you explain in detail 'javax.servlet' package?
Which application server is best for java?
What’s the difference between sendredirect and forward methods
Explain session tracking and its importance?
What's the advantages using servlets than using cgi?
What are the different types of servlets?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
Why the concept of single thread model interface is used?
What is the purpose of inter-servlet communication?
Explain servlet.