what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?
Answer Posted / r b arumugam
Java Servlet is a Java File and is converted into .class
file. If there is any changes in Servlet we must compile
once again.
JSP is a HTML file and java coding is embedded into it. The
JSP page is automatically compiled. There is NO deplyment
descriptor file in JSP as web.xml
Servlet is fully java coding and JSP is a collection of
HTML,JSPtag,JSTL
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is the type of method for sending request from http server?
How to create war file?
What is the life cycle of a servlet?
Given the request path below, which are context path, servlet path and path info?
How do you configure a centralized error handler in servlets?
What is the servletconfig object?
What is servlet and its types?
What are its drawbacks of cgi?
What do you mean by cgi and what are its drawbacks?
What is difference between server and servlet?
Is tomcat a servlet container?
What is servlet interface?
What are different ways for servlet authentication?
Explain the difference between generic servlet and http servlet?
How is a servlet implemented in code?