When does a container initialize multiple jsp / servlet objects?
Answer / Praveen Kumar Soni
A web container initializes multiple JSP/Servlet objects under the following circumstances: 1) When a ServletContext is created or reloaded (e.g., after deploying a new version of the application). 2) When a ServletContext attribute is accessed for the first time, or when it expires. 3) During servlet initialization-param initialization. 4) When a JSP page is requested and the associated servlet object does not exist.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to access java variable in jsp?
What is difference between jspwriter and servlet printwriter?
What are the different life-cycle methods?
what will happen if we disable cookies in the web page?
Tell us about the stages (phases) of the jsp life cycle.
Explain the steps for creating custom tags in jsp?
What is the difference between servletcontext and pagecontext?
What are scripting elements?
how can i get a scjp certification??
What is _jspservice method?
Explain the various scope values for tag.
Explain the jsp implicit objects?