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 / nv
The difference b/w servlet and jsp is :
1. In servlet html is embedded with java code but in jsp
java code is embedded with html.
2. jsp is a long process because in jsp code is convert to
servlet at the time of deployment.
3. servlet are fast process than jsp.
4. no need to deploy jsp ,in servlet we need web.xml but no
need to use in jsp.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the process to implement doget and dopost methods?
What is a server side include (ssi)
Explain url encoding?
What is a deployment descriptor?
What do you mean by url pattern in servlet?
What's the architecture of a servlet package?
Which interface should be implemented by all servlets?
Explain in brief the directory structure of a web application?
Tell us something about servletcontext interface.
Explain the jar and war files in servlet?
Explain the custom jsp tags and the beans.
Explain the difference between servlet and cgi?
What is a java servlet?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Explain mvc pattern.