What is the difference between servlet and jsp?



What is the difference between servlet and jsp?..

Answer / Vikas Kumar Tiwari

Servlet is a Java class that processes HTTP requests and generates responses, while JSP (JavaServer Pages) is a technology used to create dynamic web content by embedding Java code in HTML files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What are the kinds of http requests?

1 Answers  


What is servlet tunnelling?

1 Answers  


What is servlet and its life cycle?

1 Answers  


why are extending GenericServlet and why are extending HttpServlet explain?

7 Answers  


what are the CGI Programs?

5 Answers  


Why the container loads server at the application startup and how?

1 Answers  


What is the first statement in jsp page.

7 Answers   L&T,


Explain the difference between servletconfig and servletcontext in servlet?

1 Answers  


What must be implemented by all servlets?

1 Answers  


Can we override servlet service method?

1 Answers  


Why is servlet used?

1 Answers  


Explain the different ways for servlet authentication?

1 Answers  


Categories