- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What do the id and scope attribute mean in the action elements in JSP?
517 Lectures 57 hours
These are two attributes that are common to all Action elements: the id attribute and the scope attribute.
The id attribute uniquely identifies the Action element and allows the action to be referenced inside the JSP page. If the Action creates an instance of an object, the id value can be used to reference it through the implicit object PageContext.
This attribute identifies the lifecycle of the Action element. The id attribute and the scope attribute are directly related, as the scope attribute determines the lifespan of the object associated with the id. The scope attribute has four possible values:
- (a) page,
- (c)session, and
- (d) application.
- What are the different scope values for the JSP action in JSP?
- What is the difference between include action and include directive in JSP?
- What is the use of jsp plugin action element?
- What is the use of jsp text action element?
- What is the function of <jsp:include> action in JSP?
- What is the use of <jsp:text> Action in JSP?
- What does the [Flags] Enum Attribute mean in C#?
- What do the terms copay, Coinsurance and Deductibles mean?
- What do you mean by Scope of variables inside MySQL stored procedure?
- What is autoFlush attribute in JSP?
- What is contentType attribute in JSP?
- What is errorPage attribute in JSP?
- What is isErrorPage attribute in JSP?
- What is extends attribute in JSP?
- What is import attribute in JSP?