What is jsp and servlets?



What is jsp and servlets?..

Answer / Jyoti Singh Chaihal

JSP (JavaServer Pages) and Servlets are technologies used to create dynamic web content in Java. JSP allows developers to write HTML pages with embedded Java code, while Servlets are Java classes that handle HTTP requests and generate responses. Both JSP and Servlets can be used together in the same application, with Servlets often handling low-level tasks like session management and security, while JSP handles presentation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What are the 3 tags used in jsp bean development?

1 Answers  


What is JTGrid?

1 Answers  


Which tag is used to execute java source code in jsp?

1 Answers  


Where is jsp used?

1 Answers  


What is an api with example?

1 Answers  


How are the jsp requests handled?

1 Answers  


What is the use of 'out' implicit object?

1 Answers  


What are directives in jsp?

1 Answers  


Why use of scripting elements in jsp is discouraged?

1 Answers  


How did you implement caching in jsp?

1 Answers  


Explain handling of runtime exceptions.

1 Answers  


What is the use of jstl?

1 Answers  


Categories