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 / pichha
Servlet is Servlet whereas JSP is JSP n also Servlet
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
What is http servlet? Explain with the help of an example.
Why is init() method is used in servlets?
What is ServletConfig object?
What is a servlet engine?
What is SingleThreadModel interface?
Which exception is thrown if the servlet is not initialized properly?
Why do we need a constructor in a servlet if we use the init method?
What is a java servlet?
Explain the methods of request dispatcher in servlet?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
Explain the difference between a web server and a web container?
Define the life cycle of a servlets.
Can filter be used as request or response?
What is the type of method for sending request from http server?
Differentiate between the get and post method