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 use of httpservletresponsewrapper?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Why servlet is faster than jsp?
What is servlet api used for conneting database?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
How do I use cookies to store session state on the client?
How servlets are deployed in java?
What is servlet and its use?
How can you start a jta transaction from a servlet deployed on jboss?
Explain the architechure of a servlet?
What are the functions of the servlet container?
What is a servlet context object?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is Servlet API used for connecting database?
What is war file?