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 difference between the servlets and cgi programs?
What are the different methods involved in generic servlet?
How to rectify errors in java servlet while compilation?
Write all the phases defined in servlet life cycle?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What is the need of servlet filters?
What is the disadvantage of cookies?
What are the jobs performed by servlets?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
How is the get () method different from the post() method?
Which HTTP method is non-idempotent?
What are the features added in Servlet 2.5?
What is the difference between sendredirect() and forward() in a servlet?
What do you mean by a filter and how does it work?
What is servlet used for?