when the jsp page is translated to servlet?

Answer Posted / gayathri janarthanam

The JSP specification indicates that the translation can happen either during deployment time or when the JSP is requested for the first time...But most of the containers(TOMCAT for eg.,) does lazy loading ie., translates the JSP into servlet when the first request comes in...I have used the term traslation loosely here to mean "translating into servlet.java file and compiling into servlet.class file"...

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is that servlet is pure java object or not?

716


What is a servlet engine?

630


How to get the path of servlet in the server?

612


Write a command to get actual path of a servlet to the server?

629


What do you mean by cgi and what are its drawbacks?

617






What are the ways to handle multi-threading in servlets?

687


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

2996


What are the objects involved when a servlet receives a call from client?

629


Is dispatcher servlet a singleton?

633


If servlet receives multiple requests, how many objects will it create?

922


What is servlet mapping?

670


What do you mean by chaining in servlet?

678


Define the lifecycle for executing a jsp page.

679


What is Request Dispatcher?

917


Why HttpServlet class is declared abstract?

727