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 / twinkle
Servlet is a single instance multiple thread web
application in which HTML code can be included in java code.
JSP is also a web application in which java code can be
included in HTML code.
For compilation of servlet we need to close TOMCAT server
each n every time but for JSP's no need
EX:If u made any changes in program u need to close TOMCAT
server and then again start the server.But in JSP u just
need to click refresh tats it.
In servlets u need to write the whole class name but in JSP
u dont need to write whole name.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the capacity the doget can send to the server?
How do you get the ip address of the client in servlet?
Which method of the httpservletrequest object is used?
Can you send an authentication error from a servlet?
What is Servlets and explain the advantages of Servlet life cycle?
What are the types of servlet?
How do you communicate in between Applets and Servlets?
What is servlet instance?
How is an application exception handling is done using a servlet?
What are the different methods involved in generic servlet?
What do you mean by servlet?
What’s the use of the servlet wrapper classes??
What are the difference between RMI and Servlets?
What are the key methods that are involved in processing of http servlets?
Explain Action Servlet?