Request Bean Node |
The Request Bean node in the Projects window lists the JavaBean objects that the application manages in request scope.
A typical use of the request bean is to add a property that will be used to store a value from the current page for use by the next page.
To add a property to a request bean, right-click the node and choose Add > Property as described in Creating a Bean Property.
text property bound to a Request Bean property.Any value that you store in the Request Bean disappears as soon as the request ends. A request is a single transmission of an HTTP request from the client to the server plus the corresponding response, which can be another page. In most cases, the request begins with the clicking of a button or a link and ends with the response of an HTML page to be displayed.
If you double-click the Request Bean node, a Java Editor opens to allow you to edit the RequestBean.java file. Do not edit this file unless you are an experienced developer.
For more information on using bean properties in managed beans like the Request Bean, see the following tutorial:
Getting Started With Java Studio Creator
| Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. |