What are the different scopes an object can have in a jsp page?
Answer / Anupam Vishwakarma
An object in a JSP page can have one of the following scopes: page, request, session, application and application-wide attributes. Page scope objects exist only within the current JSP page. Request scope objects are created for each HTTP request and are available to all JSP pages servicing that request. Session scope objects persist for the duration of a user's browsing session. Application scope objects have a lifecycle that lasts as long as the web application is active. Application-wide attributes are globally accessible across all sessions.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the implicit el objects in jsp?
What is el?
What is c tag in jsp?
What is jsp expression?
Can constructor be used instead of init(), to initialize servlet?
What is the use of Application Object and Session Object in JSP?
What is Include directive?
What is the _jspservice() method?
How do I view a jsp file?
What are action tags?
How can we forward the request from jsp page to the servlet?
What are directives? What are the different types of directives available in jsp?