Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<c:get>

Standard JET2 Control Tags

get

Write a the result of an XPath expression.

If the 'select' XPath expression returns more than one object, only the first is written. If the XPath expression selects no objects, then an error occurs, unless the 'default' attribute is specified. If the 'select' XPath expression is malformed, then an error occurs.


Tag Summary
required <c:get select="value"/>
full tag <c:get select="value" default="value"/>

Required Attributes
select
The XPath expression to evaluate.

Optional Attributes
default
The value to write, if the XPath expression selects no objects.

Example
<%-- Return the string value of 'name' attribute of element refered to by $var --%>
<c:get select="$var/@name"/>


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire