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 / chandra
servlet: its a java class so for every change we have to
compile the code to reflect the change.Mainly using for
writing business logics.
jsp:its a file, its automatically converted into a servlet
on deploying. We can't compile it explicitly.the changes
will get reflect by saving the file.Its mainly used for
presentation of data.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Explain url encoding?
How do you find out what client machine is making a request to your servlet
What is the importance of init() method in Servlet ?
What is called Session Tracking?
What is http servlet?
What is MIME Type?
What is servlet and its life cycle?
What is lazy loading and what is Generic Servlet Class?
What are the different methods involved in generic servlet?
Why servlet is faster than jsp?
What is a deployment descriptor?
Whether we can get deadlock situation in servlets?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
When jsessionid is created?
What is the difference between servlet and filter?