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 / sonu
servlet is a java class.while jsp is a file.Internally when
we compile servlet will be generated from jsp file.jsp
complier will be the default one with all application
servers.Manually developed servlets perform more faster
than the servlets generated by the jsps.Jsp are used for the
display purpose only.In servlets we include the presentation
and business logic both
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Explain the difference between servletconfig and servletcontext in servlet?
Can servlet have a constructor ?
What is url encoding and url decoding
How will you pass values from HTML page to the servlet?
What are the key methods that are involved in processing of http servlets?
What are the difference between session and cookies in servlet? Explain
How to rectify errors in java servlet while compilation?
What are the common methods that are included in the http servlet class?
Differentiate between get and post?
How do you define a servlet?
What do you mean by session tracking and also explain its techniques?
Explain the concept of ssi ?
How do you find out what client machine is making a request to your servlet
Why servlet is used as controller ? Not JSP? I want complete explation?
What is servlet name in web xml?