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 cgi?
How can the referrer and the target urls be used in servlet?
Difference between java beans & servlets?
Who is responsible to create the object of servlet?
What are important features of Servlet 3?
What's the difference between servlets and applets?
What is the difference between sendredirect() and forward() in a servlet?
What is cookies in servlet with example?
What are all the ways for session tracking?
What are the phases of a servlet life cycle?
What are the two important api's in for servlets?
How does java thread pool work?
What is http servlet?
Which method is called when reference variable is passed in system.net?
What is Servlet API used for connecting database?