when the jsp page is translated to servlet?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What are the various ways of session supervision in servlets?
what is the difference between?when we write the code in following manner? class One extends httpservlet { } and class One extends genericservlet { }
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Describe servlet?
What is servlet and how it works?
Can we call destroy() method inside the init() method? What happens when we do so?
What is the difference between servlet config and servlet context.
19 Answers TCS, Tech Mahindra, Vertex,
How servlets are deployed in java?
difference between forward and sendredirect
What do you mean by servlet?
If a servlet is not properly initialized, what exception may be thrown?
Can you send the mail from a servlet ,if yes tell how?