when the jsp page is translated to servlet?

Answers were Sorted based on User's Feedback



when the jsp page is translated to servlet?..

Answer / mamatha

Whenever the jsp page receives the request for the first
time
Whenever it receives the request jspEngine will check
whether the servlet is generated or not? if yes it will
give the reference to the page otherwise it will generate
new one

Is This Answer Correct ?    22 Yes 0 No

when the jsp page is translated to servlet?..

Answer / 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

when the jsp page is translated to servlet?..

Answer / shaileja

Whenever the jsp page receives the request for the first
time
Whenever it receives the request jspEngine will check
whether the servlet is generated or not? if yes it will
give the reference to the page otherwise it will generate
new one

Is This Answer Correct ?    1 Yes 1 No

when the jsp page is translated to servlet?..

Answer / narendher sharma

In Directive Include .. the jsp page will be translated
into servlet.

Here the Static resources will be generated during
translation time

Is This Answer Correct ?    4 Yes 10 No

when the jsp page is translated to servlet?..

Answer / ravikiran.chd

when we deploy our web application

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Servlets Interview Questions

What is servlet used for?

0 Answers  


Why should we go for interservlet communication?

2 Answers  


What is servlet and how it works?

0 Answers  


without session Id can we do any operations like add,update,edit,delete. I saw Session id is loaded for edit and delete action not for add .so am asking this

1 Answers   Syntel,


Write a program to show the functionality of servlets.

0 Answers  






How does tomcat servlet container work?

0 Answers  


if u havea .class file ,how can u say whether it is servlet or not ,dont use java decompliler

4 Answers   Polaris,


which method in doGet or doPost is use to send binary date to server

2 Answers   HCL,


Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 Answers  


What is Servlet Context?

5 Answers  


What do you mean by url pattern in servlet?

0 Answers  


What is cookie in servlet?

0 Answers  


Categories