tsx:getProperty tag JavaServer Pages syntax and examples (deprecated)

The <tsx:getProperty> tag gets the value of a bean to display in a JavaServer Pages (JSP) file.

Deprecated feature Deprecated feature: Support for tsx tags in the JavaServer Pages (JSP) engine are deprecated in WebSphere Application Server Version 6.0. Instead of using the tsx tags, you should use equivalent tags from the JavaServer Pages Standard Tag Library (JSTL).depfeat

This IBM extension of the Sun JSP <jsp:getProperty> tag implements all of the <jsp:getProperty> function and adds the ability to introspect a database bean created using the IBM extension <tsx:dbquery> or <tsx:dbmodify>.

Note: You cannot assign the value from this tag to a variable. The value, generated as output from this tag, displays in the browser window.

This section describes the syntax of the <tsx:getProperty> tag:

<tsx:getProperty name="bean_name"
  property="property_name" />

where:

Tag example:

<tsx:getProperty name="userProfile" property="username" />



Related concepts
JavaServer Pages
Related tasks
Using installed optional packages
Managing shared libraries
Related reference
Web applications: Resources for learning
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=rweb_jgets
File name: rweb_jgets.html