InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.2: Developing JSP files >
4.2.2.3: Overview of JSP file content >
4.2.2.3.5: JSP syntax: useBean tag

4.2.2.3.5: JSP syntax: useBean tag

The <jsp:useBean> tag locates a Bean or creates an instance of a Bean if it does not exist.

JavaBeans can be class files, serialized beans, or dynamically generated by a servlet. A JavaBean can even be a servlet (that is, provide a service). If a servlet generates dynamic content and stores it in a bean, the bean can then be passed to a JSP file for use within the Web page defined by the file.

See Sun's JSP Syntax Reference for JSP 1.1 syntax descriptions and examples.

Go to previous article: JSP syntax: Java expressions Go to next article: JSP syntax: <useBean> tag syntax

 

 
Go to previous article: JSP syntax: Java expressions Go to next article: JSP syntax: <useBean> tag syntax