waht is the main diference b/w servelts and JSP ?
Answer Posted / ravindra nhavi
the main different is jsp only depend on HTTP protocol
but servlet support for HTTP,SMTP,FTP protocol
In jsp you directly embeded java code in to the html code
but is in servlet is not posible.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is difference between PrintWriter and ServletOutputStream?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What do you mean by servlet?
What is the process to implement doget and dopost methods?
Explain session tracking and its importance?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
Can filter be used as request or response?
Which HTTP method is non-idempotent?
why we should override only no-agrs init() method.
What do you mean by request dispatcher in servlet? Also explain its methods.
How can you use a servlet to generate a plain text instead of html?
What is the major difference between context parameter and context attribute?
How do I support both get and post from the same servlet?
List some life cycle methods of a servlet.
Explain in brief the directory structure of a web application?