What is the use of jsp and servlet?



What is the use of jsp and servlet?..

Answer / Siddharth Tiwari

JSP (JavaServer Pages) and Servlets are both Java technologies used for developing dynamic web applications. Servlets handle HTTP requests and generate responses, while JSP provides an easy-to-use syntax to embed HTML, JavaScript, and Java code within a single file. JSP uses Servlets under the hood to process requests, but it abstracts away much of the low-level details, making it easier for developers to create dynamic web content.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

Define scriptlet, expression and declaration in jsp?

1 Answers  


how can i add properties in dynamic text fields using .js file?

1 Answers  


How can the applets be displayed in the jsp? Explain with an example.

1 Answers  


can i use vb script with jsp?

4 Answers  


List out the various scope values of jsp action.

1 Answers  


Can we use javascript in jsp?

1 Answers  


Which one is correct order of phases in jsp life cycle?

1 Answers  


What jsp lifecycle methods can I override?

1 Answers  


What is jspinit method?

1 Answers  


What class.forname will do while loading drivers?

1 Answers  


How does the Jsp Expressions works ? What happens at the back?

5 Answers   iFlex, Manhattan,


Define Static Block.

1 Answers  


Categories