What is the difference between JSP and Servlet?
Answer Posted / sss
JSP is mainly used for presentation only. A JSP can only be
HttpServlet that means the only supported protocol in JSP
is HTTP. But a servlet can support any protocol like HTTP,
FTP, SMTP etc.
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
What is the jspinit() method?
How can I override the jspdestroy() method within a jsp page?
What is jsp application?
How to print java variable in jsp?
What is pagecontext?
Can I stop jsp execution while in the midst of processing a request?
Explain the jsp implicit objects?
What is the
Explain the steps for creating custom tags in jsp?
What are the features of jsp?
What are the types of jstl tags?
What is dynamic web project?
How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?
Is there a way to reference the "this" variable within a jsp page?
What is difference between sendredirect and forward?