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
How native code can be used in a servlet?
What are the types of protocols supported by httpservlet ?
What is the advantage of Servlets when compared with other server side technologies?
Write a program to show the functionality of doget and dopost method?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is the workflow of a servlet?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Why the container loads server at the application startup and how?
What is the use of send redirect () method?
How to create war file?
Is servlet thread safe?
Why do we have servlet wrapper classes?
What is the default http method in the servlet?
What is servlet? Explain
What is URL Encoding?