This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
Spring beans can be singleton or prototype. A bean definition defines a bean for Spring to manage including its class, id, and dependencies. Beans are created based on their dependencies with singletons created eagerly and prototypes created lazily. Bean properties are used to inject dependencies and can reference other beans. Beans without ids are anonymous while inner beans define dependencies inline. Init methods run after dependencies are loaded and values can be injected besides other beans. Abstract beans allow reusable bean definitions.
This document provides an overview of using JavaBeans in JSP pages. It discusses the benefits of beans, creating and accessing bean properties, and sharing beans across pages and servlets. Key points covered include using the jsp:useBean, jsp:setProperty and jsp:getProperty tags to work with beans without explicit Java code. It also discusses setting bean properties from request parameters and different scopes for sharing beans in multiple contexts.
The Java component allows developers to package custom Java code that executes when the component receives a message. It can be used to enhance functionality and capabilities of web applications written in Java. The component is configured using a visual editor or XML view, and provides options to specify a class name, display name, and define singleton or spring bean objects.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
The document discusses the design and implementation of Usergrid, a multi-tenant, multi-server application platform built using Java, Spring, Jersey, Jackson, and Cassandra to provide user management, data storage, analytics and other features through a RESTful API in a scalable way that allows multiple teams and applications to easily build and deploy mobile and web apps. The document outlines some of the challenges in building such a platform and how Usergrid addresses issues like consistency, API design, permissions, built-in logic and operations.
JavaBeans are reusable software components that can be visually manipulated in builder tools. They follow certain conventions like having a default constructor and getter/setter methods for properties. Beans are platform independent and their methods, properties, and events can be controlled. There are four types of properties beans can expose: simple, indexed, bound, and constrained. Simple properties have a single getter/setter pair while indexed properties support arrays. Bound properties notify listeners of changes while constrained properties can have changes vetoed by listeners.
This document provides an introduction and overview of the Spring Framework. It discusses that Spring is an open-source application framework that provides dependency injection and inversion of control. It allows for lightweight containers and frameworks. Spring provides dependency management between objects, cleaner separation of responsibilities, and the ability to build applications from POJOs. The document covers key Spring concepts like inversion of control, dependency injection, bean scopes, lifecycle callbacks, and autowiring. It provides examples of how to configure these concepts in Spring.
This document discusses JavaBeans, which are reusable Java components that can be visually manipulated in application builder tools. JavaBeans follow certain conventions like having a no-argument constructor and getter/setter methods for properties. They can represent user interface elements like buttons and text boxes, and be assembled visually into applications. The document covers the components of JavaBeans, how they are assembled, advantages of using JavaBeans, and the steps to create a JavaBean class.
Spring beans can be singleton or prototype. A bean definition defines a bean for Spring to manage including its class, id, and dependencies. Beans are created based on their dependencies with singletons created eagerly and prototypes created lazily. Bean properties are used to inject dependencies and can reference other beans. Beans without ids are anonymous while inner beans define dependencies inline. Init methods run after dependencies are loaded and values can be injected besides other beans. Abstract beans allow reusable bean definitions.
This document provides an overview of using JavaBeans in JSP pages. It discusses the benefits of beans, creating and accessing bean properties, and sharing beans across pages and servlets. Key points covered include using the jsp:useBean, jsp:setProperty and jsp:getProperty tags to work with beans without explicit Java code. It also discusses setting bean properties from request parameters and different scopes for sharing beans in multiple contexts.
The Java component allows developers to package custom Java code that executes when the component receives a message. It can be used to enhance functionality and capabilities of web applications written in Java. The component is configured using a visual editor or XML view, and provides options to specify a class name, display name, and define singleton or spring bean objects.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
The document discusses the design and implementation of Usergrid, a multi-tenant, multi-server application platform built using Java, Spring, Jersey, Jackson, and Cassandra to provide user management, data storage, analytics and other features through a RESTful API in a scalable way that allows multiple teams and applications to easily build and deploy mobile and web apps. The document outlines some of the challenges in building such a platform and how Usergrid addresses issues like consistency, API design, permissions, built-in logic and operations.
JavaBeans are reusable software components that can be visually manipulated in builder tools. They follow certain conventions like having a default constructor and getter/setter methods for properties. Beans are platform independent and their methods, properties, and events can be controlled. There are four types of properties beans can expose: simple, indexed, bound, and constrained. Simple properties have a single getter/setter pair while indexed properties support arrays. Bound properties notify listeners of changes while constrained properties can have changes vetoed by listeners.
This document provides an introduction and overview of the Spring Framework. It discusses that Spring is an open-source application framework that provides dependency injection and inversion of control. It allows for lightweight containers and frameworks. Spring provides dependency management between objects, cleaner separation of responsibilities, and the ability to build applications from POJOs. The document covers key Spring concepts like inversion of control, dependency injection, bean scopes, lifecycle callbacks, and autowiring. It provides examples of how to configure these concepts in Spring.
This document discusses JavaBeans, which are reusable Java components that can be visually manipulated in application builder tools. JavaBeans follow certain conventions like having a no-argument constructor and getter/setter methods for properties. They can represent user interface elements like buttons and text boxes, and be assembled visually into applications. The document covers the components of JavaBeans, how they are assembled, advantages of using JavaBeans, and the steps to create a JavaBean class.
WEB PROGRAMMING UNIT IV NOTES BY BHAVSINGH MALOTHBhavsingh Maloth
This document provides information on Java beans including:
- The characteristics that distinguish a Java bean from other Java classes
- The different types of bean properties (simple, boolean, indexed) and the naming conventions for getter and setter methods
- The advantages of using Java beans such as reusability and global operability
- How to create a new bean through steps such as creating source files, compiling, generating a JAR file
- Additional bean-related topics like events, customizers, the Bean Developer Kit, and the JavaBeans API architecture
A bean is a reusable software component based on Sun's JavaBeans specification that can be manipulated visually in a builder tool.“
The JavaBeans technology enables vendors to create environments that make it dramatically easier to develop user interfaces for Java applications.
Java Bean is a reusable software component that can be visually assembled into applications using visual development tools. It follows specific conventions like having public no-arg constructors, allowing properties to be read and written with get/set methods, and firing events. Beans are customizable, portable, and can persist their state. Introspection allows determining a bean's properties, methods, and events at runtime.
Java beans allow the creation of reusable software components. A bean is a reusable component that can have its properties, events, and methods manipulated visually. Beans enable components to be developed once and reused across applications. Key features of beans include properties, events, introspection for analysis of capabilities, and customization to allow configuration of appearance and behavior. Beans also support persistence to save and restore the component's customized state.
A JavaBean is a Java class that follows certain conventions to allow it to be used as a reusable component in JavaServer Pages (JSP). JavaBeans have default constructors, properties that can be read and written via getter and setter methods, and implement the Serializable interface. JSP tags like <jsp:useBean>, <jsp:getProperty>, and <jsp:setProperty> allow JavaBeans properties to be accessed and manipulated from JSP pages.
The document discusses JavaBeans, which are reusable software components that follow certain conventions. JavaBeans allow for creating and accessing objects in JSP pages through useBean and setProperty/getProperty actions. This provides a concise way to work with objects compared to scriptlets. JavaBeans are beneficial as they support separation of concerns, are reusable, and can be accessed dynamically through reflection.
The document discusses Java beans, which are reusable software components that can be visually manipulated in builder tools. Java beans follow certain rules, like implementing the Serializable interface and having a no-argument constructor. They can have properties, events, persistence, and allow for customization and introspection. Common examples of Java beans include GUI components like buttons and text fields. Builder tools allow visual creation of beans and display their properties through reflection.
The document discusses Spring framework concepts including Spring beans, the IOC container, bean definition, and bean configuration using XML. Some key points:
- A Spring bean is a Java object that is instantiated, assembled, and otherwise managed by the Spring IOC container. Beans have properties and dependencies that can be injected.
- The Spring IOC container manages the complete lifecycle of beans including instantiation, configuration, and destruction. It uses dependency injection to manage components that make up an application.
- Bean configuration metadata can be specified using XML, annotations, or Java code. The XML configuration defines beans using <bean> tags which specify class, properties, dependencies, and other configuration.
- The
The document contains questions related to Java Spring and Hibernate concepts and implementations. Some key concepts discussed include:
- Dependency injection and inversion of control in Spring
- Differences between Spring BeanFactory and ApplicationContext
- Typical bean lifecycle in Spring container
- Benefits of using an ORM tool like Hibernate
- General flow of communication between Hibernate and a relational database
In this session you will learn:
Including Files at Request Time: jsp:include
Understanding jsp:include vs. <%@ include … %>
Options for Deploying Applets
Using jsp:plugin
Attributes of the jsp:plugin Element
Using JavaBeans Components in JSP Documents
Background: What Are Beans?
Using Beans: Basic Tasks
Setting Simple Bean Properties: jsp:setProperty
JSP Page That Uses StringBean(Code)
Conditional Bean Operations
Sharing Beans in Four Different Ways
Session-Based Sharing: Code
Application-Based Sharing: Code
Application-Based Sharing: Result
For more information, visit this link: https://www.mindsmapped.com/courses/software-development/online-java-training-for-beginners/
JSP provides implicit objects that represent request, response, and session objects. These objects have different scopes: page, request, session, and application. The implicit objects allow access to these server-side objects from JSP. JSP actions like include, forward, plugin are processed during request processing to include, forward to, or embed resources. The useBean, getProperty, and setProperty actions allow interacting with JavaBeans in JSP.
JavaBean is a design of specified standards comprise recycleable program element design. Any Java class is a potential bean, offered they follow the needs set by the needs guide. The guidelines are
How to Use the JavaBean API Library JavaBean is a design of specified standards comprise recycleable program element design. Any Java class is a potential bean, offered they follow the needs set by the needs guide. The guidelines are simple and as we shall see down the line. Apart from these standards, there is a […]
JSP is a technology based on Java that produces dynamic web pages. JSP files contain HTML tags as well as special JSP tags where Java code is embedded. There are three main types of JSP elements - directives, scripting elements, and action elements. Directives provide information to the JSP engine, scripting elements contain Java code, and action elements perform tasks like accessing Java beans. Common implicit objects in JSP include application, page, session, and request objects. Java beans can be used with JSP through action tags like useBean, setProperty, and getProperty.
The document provides an overview and examples of using JavaBeans in JSP pages. It discusses creating beans, setting and getting bean properties using jsp:setProperty and jsp:getProperty tags, and sharing beans across multiple pages using different scopes. Specific topics covered include understanding bean properties, building beans, setting properties explicitly and from request parameters, and sharing beans in the application scope.
Setting Business Logic with EJB
The document discusses setting business logic with Enterprise JavaBeans (EJB). It covers key concepts of EJB including session beans, stateless and stateful beans, dependency injection, transactions, security, and more. It also compares EJB to other technologies like Spring.
Using JavaBeans in JSP can allow accessing and modifying Java objects without explicit Java code. Beans must follow conventions like having a no-arg constructor and getter/setter methods. JSP tags like <jsp:useBean>, <jsp:setProperty>, and <jsp:getProperty> can instantiate, set properties of, and get properties from beans. <jsp:useBean> instantiates a bean, <jsp:setProperty> sets properties by calling setters, and <jsp:getProperty> gets properties by calling getters. The scope attribute shares beans across pages/servlets by storing them in scopes like page, request, session, or application.
WEB PROGRAMMING UNIT IV NOTES BY BHAVSINGH MALOTHBhavsingh Maloth
This document provides information on Java beans including:
- The characteristics that distinguish a Java bean from other Java classes
- The different types of bean properties (simple, boolean, indexed) and the naming conventions for getter and setter methods
- The advantages of using Java beans such as reusability and global operability
- How to create a new bean through steps such as creating source files, compiling, generating a JAR file
- Additional bean-related topics like events, customizers, the Bean Developer Kit, and the JavaBeans API architecture
A bean is a reusable software component based on Sun's JavaBeans specification that can be manipulated visually in a builder tool.“
The JavaBeans technology enables vendors to create environments that make it dramatically easier to develop user interfaces for Java applications.
Java Bean is a reusable software component that can be visually assembled into applications using visual development tools. It follows specific conventions like having public no-arg constructors, allowing properties to be read and written with get/set methods, and firing events. Beans are customizable, portable, and can persist their state. Introspection allows determining a bean's properties, methods, and events at runtime.
Java beans allow the creation of reusable software components. A bean is a reusable component that can have its properties, events, and methods manipulated visually. Beans enable components to be developed once and reused across applications. Key features of beans include properties, events, introspection for analysis of capabilities, and customization to allow configuration of appearance and behavior. Beans also support persistence to save and restore the component's customized state.
A JavaBean is a Java class that follows certain conventions to allow it to be used as a reusable component in JavaServer Pages (JSP). JavaBeans have default constructors, properties that can be read and written via getter and setter methods, and implement the Serializable interface. JSP tags like <jsp:useBean>, <jsp:getProperty>, and <jsp:setProperty> allow JavaBeans properties to be accessed and manipulated from JSP pages.
The document discusses JavaBeans, which are reusable software components that follow certain conventions. JavaBeans allow for creating and accessing objects in JSP pages through useBean and setProperty/getProperty actions. This provides a concise way to work with objects compared to scriptlets. JavaBeans are beneficial as they support separation of concerns, are reusable, and can be accessed dynamically through reflection.
The document discusses Java beans, which are reusable software components that can be visually manipulated in builder tools. Java beans follow certain rules, like implementing the Serializable interface and having a no-argument constructor. They can have properties, events, persistence, and allow for customization and introspection. Common examples of Java beans include GUI components like buttons and text fields. Builder tools allow visual creation of beans and display their properties through reflection.
The document discusses Spring framework concepts including Spring beans, the IOC container, bean definition, and bean configuration using XML. Some key points:
- A Spring bean is a Java object that is instantiated, assembled, and otherwise managed by the Spring IOC container. Beans have properties and dependencies that can be injected.
- The Spring IOC container manages the complete lifecycle of beans including instantiation, configuration, and destruction. It uses dependency injection to manage components that make up an application.
- Bean configuration metadata can be specified using XML, annotations, or Java code. The XML configuration defines beans using <bean> tags which specify class, properties, dependencies, and other configuration.
- The
The document contains questions related to Java Spring and Hibernate concepts and implementations. Some key concepts discussed include:
- Dependency injection and inversion of control in Spring
- Differences between Spring BeanFactory and ApplicationContext
- Typical bean lifecycle in Spring container
- Benefits of using an ORM tool like Hibernate
- General flow of communication between Hibernate and a relational database
In this session you will learn:
Including Files at Request Time: jsp:include
Understanding jsp:include vs. <%@ include … %>
Options for Deploying Applets
Using jsp:plugin
Attributes of the jsp:plugin Element
Using JavaBeans Components in JSP Documents
Background: What Are Beans?
Using Beans: Basic Tasks
Setting Simple Bean Properties: jsp:setProperty
JSP Page That Uses StringBean(Code)
Conditional Bean Operations
Sharing Beans in Four Different Ways
Session-Based Sharing: Code
Application-Based Sharing: Code
Application-Based Sharing: Result
For more information, visit this link: https://www.mindsmapped.com/courses/software-development/online-java-training-for-beginners/
JSP provides implicit objects that represent request, response, and session objects. These objects have different scopes: page, request, session, and application. The implicit objects allow access to these server-side objects from JSP. JSP actions like include, forward, plugin are processed during request processing to include, forward to, or embed resources. The useBean, getProperty, and setProperty actions allow interacting with JavaBeans in JSP.
JavaBean is a design of specified standards comprise recycleable program element design. Any Java class is a potential bean, offered they follow the needs set by the needs guide. The guidelines are
How to Use the JavaBean API Library JavaBean is a design of specified standards comprise recycleable program element design. Any Java class is a potential bean, offered they follow the needs set by the needs guide. The guidelines are simple and as we shall see down the line. Apart from these standards, there is a […]
JSP is a technology based on Java that produces dynamic web pages. JSP files contain HTML tags as well as special JSP tags where Java code is embedded. There are three main types of JSP elements - directives, scripting elements, and action elements. Directives provide information to the JSP engine, scripting elements contain Java code, and action elements perform tasks like accessing Java beans. Common implicit objects in JSP include application, page, session, and request objects. Java beans can be used with JSP through action tags like useBean, setProperty, and getProperty.
The document provides an overview and examples of using JavaBeans in JSP pages. It discusses creating beans, setting and getting bean properties using jsp:setProperty and jsp:getProperty tags, and sharing beans across multiple pages using different scopes. Specific topics covered include understanding bean properties, building beans, setting properties explicitly and from request parameters, and sharing beans in the application scope.
Setting Business Logic with EJB
The document discusses setting business logic with Enterprise JavaBeans (EJB). It covers key concepts of EJB including session beans, stateless and stateful beans, dependency injection, transactions, security, and more. It also compares EJB to other technologies like Spring.
Using JavaBeans in JSP can allow accessing and modifying Java objects without explicit Java code. Beans must follow conventions like having a no-arg constructor and getter/setter methods. JSP tags like <jsp:useBean>, <jsp:setProperty>, and <jsp:getProperty> can instantiate, set properties of, and get properties from beans. <jsp:useBean> instantiates a bean, <jsp:setProperty> sets properties by calling setters, and <jsp:getProperty> gets properties by calling getters. The scope attribute shares beans across pages/servlets by storing them in scopes like page, request, session, or application.
HTML is the standard markup language used to create web pages. It uses tags to structure and present content. Some key tags are:
<html> - Defines an HTML document
<head> - Contains metadata like <title>
<body> - Contains visible page content like <h1> headings, <p> paragraphs
HTML tags can be container tags which have opening and closing tags, or empty tags which are single tags without a closing tag. Attributes provide additional information about elements and are included in the opening tag. Common attributes are title, class, style, and id. HTML allows formatting of text using tags like <b> for bold, <i> for italic, and <img> to
What is CSS and what are its types and the selectors which are used in CSS. This slide can help to find all the information which is important for beginners.
This document provides an overview of Bootstrap, an open-source CSS framework. It discusses how Bootstrap can be applied with CDN links or by downloading files. It then describes some common Bootstrap components like buttons, typography classes, forms, grids, images, alerts and cards. It also mentions Bootstrap's responsive design capabilities and various grid classes for different screen sizes. Finally, it provides a link to Bootstrap themes on Bootswatch.com.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
The document summarizes various JSTL core tags used for conditional and iterative operations in JSP pages. The <c:if> tag displays content if a condition is true. The <c:choose>, <c:when>, <c:otherwise> tags function like a switch statement, with <c:when> displaying content if its condition is true and <c:otherwise> displaying otherwise. The <c:forEach> tag iterates over a collection, while <c:forTokens> iterates over tokens separated by a delimiter in a string. The <c:param> tag adds parameters to a URL, and <c:redirect> redirects the browser to a new URL, supporting parameters. The <c:url>
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
This is a step by step slides to study servlet, all the concepts which are required for a servlet are present in this ppt. The whole Servlet is divided into SESSIONS.
This is a step by step slides to study servlet, all the concepts which are required for a servlet are present in this ppt. The whole Servlet is divided into SESSIONS.
This is a step by step slides to study servlet, all the concepts which are required for a servlet are present in this ppt. The whole Servlet is divided into SESSIONS.
The document discusses hidden form fields and URL rewriting for maintaining state across web pages. Hidden form fields store hidden input values that are submitted with a form to another page. Common uses include storing page IDs in comment forms. URL rewriting appends parameter name-value pairs to URLs so that clicking links passes the parameters. Both approaches maintain state without cookies or extra form submissions, but hidden fields only work with forms while URL rewriting only works with links.
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
Strategies for Effective Upskilling is a presentation by Chinwendu Peace in a Your Skill Boost Masterclass organisation by the Excellence Foundation for South Sudan on 08th and 09th June 2024 from 1 PM to 3 PM on each day.
it describes the bony anatomy including the femoral head , acetabulum, labrum . also discusses the capsule , ligaments . muscle that act on the hip joint and the range of motion are outlined. factors affecting hip joint stability and weight transmission through the joint are summarized.
How to Setup Warehouse & Location in Odoo 17 InventoryCeline George
In this slide, we'll explore how to set up warehouses and locations in Odoo 17 Inventory. This will help us manage our stock effectively, track inventory levels, and streamline warehouse operations.
How to Make a Field Mandatory in Odoo 17Celine George
In Odoo, making a field required can be done through both Python code and XML views. When you set the required attribute to True in Python code, it makes the field required across all views where it's used. Conversely, when you set the required attribute in XML views, it makes the field required only in the context of that particular view.
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
Walmart Business+ and Spark Good for Nonprofits.pdfTechSoup
"Learn about all the ways Walmart supports nonprofit organizations.
You will hear from Liz Willett, the Head of Nonprofits, and hear about what Walmart is doing to help nonprofits, including Walmart Business and Spark Good. Walmart Business+ is a new offer for nonprofits that offers discounts and also streamlines nonprofits order and expense tracking, saving time and money.
The webinar may also give some examples on how nonprofits can best leverage Walmart Business+.
The event will cover the following::
Walmart Business + (https://business.walmart.com/plus) is a new shopping experience for nonprofits, schools, and local business customers that connects an exclusive online shopping experience to stores. Benefits include free delivery and shipping, a 'Spend Analytics” feature, special discounts, deals and tax-exempt shopping.
Special TechSoup offer for a free 180 days membership, and up to $150 in discounts on eligible orders.
Spark Good (walmart.com/sparkgood) is a charitable platform that enables nonprofits to receive donations directly from customers and associates.
Answers about how you can do more with Walmart!"
How to Manage Your Lost Opportunities in Odoo 17 CRMCeline George
Odoo 17 CRM allows us to track why we lose sales opportunities with "Lost Reasons." This helps analyze our sales process and identify areas for improvement. Here's how to configure lost reasons in Odoo 17 CRM
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
Executive Directors Chat Leveraging AI for Diversity, Equity, and InclusionTechSoup
Let’s explore the intersection of technology and equity in the final session of our DEI series. Discover how AI tools, like ChatGPT, can be used to support and enhance your nonprofit's DEI initiatives. Participants will gain insights into practical AI applications and get tips for leveraging technology to advance their DEI goals.
2. JSP useBean Action:
useBean action tag is used to locate or instantiate a bean class. If bean
object of the Bean class is already created, it doesn't create the bean
depending on the scope. But if object of bean is not created, it
instantiates the bean.
Attributes and Usage of jsp: useBean action tag
1. id: is used to identify the bean in the specific scope.
2. scope: represents the scope of the bean. It may be page, request,
session or application.
a. page: specifies that you can use this bean within the JSP page. The
default scope is page.
3. b. request: specifies that you can use this bean from any JSP page that
processes the same request. It has wider scope than page.
c. session: specifies that you can use this bean from any JSP page in
the same session whether processes the same request or not. It has
wider scope than request.
d. application: specifies that you can use this bean from any JSP page
in the same application. It has wider scope than session.
3. class: instantiates the specified bean class (i.e. creates an object of
the bean class) but it must have no-arg or no constructor and must
not be abstract.
4. type: provides the bean a data type if the bean already exists in the
scope. It is mainly used with class or beanName attribute. If you use
it without class or beanName, no bean is instantiated.
4. 5. beanName: instantiates the bean using the java.beans.Beans.instantiate()
method.
JSP setProperty and JSP getProperty action Tag
1. The setProperty and getProperty action tags are used for developing web
application with Java Bean. In web devlopment, bean class is mostly used
because it is a reusable software component that represents data.
2. The jsp:setProperty action tag sets a property value or values in a bean
using the setter method.
5. Displaying Applet in JSP
The jsp:plugin action tag is used to embed applet in the jsp file. The
jsp:plugin action tag downloads plugin at client side to execute an
applet or bean.
<jsp:plugin type= "applet | bean" code= "nameOfClassFile"
codebase= "directoryNameOfClassFile"
</jsp:plugin>