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 / manikandan [ gtec,vellore ]
jsp files are converted to a servlet file it can b read any
one but servlet files are compile to .class file that so
servlet is used for business logic and jsp are not
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
What is the difference between forward () and sendredirect () functions in servlet? Explain
Whether thread can be used in servlets?
How the JSP file will be executed on the Server side?
Does servlet have main method?
Describe servlet?
What is Servlet API used for connecting database?
How can we invoke another servlet in a different application?
What do you mean by web applications? Explain web application directory arrangement?
Is servlet synchronized?
What is cookies in servlet with example?
How to read request headers from servlets?
What are different methods of session management in servlets?
What are the advantages of Servlet over CGI?
How do cookies work in servlets?
What methods do you use in servlet - applet communication?