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
Answertopia.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:replaceStrings>

Standard JET2 Control Tags

replaceStrings

Replaces one set of strings in its content with another set of strings and writes out the result.


Tag Summary
required <c:replaceStrings replace="value" with="value">
    content consumed by tag evaluation
</c:replaceStrings>
full tag <c:replaceStrings replace="value" with="value">
    content consumed by tag evaluation
</c:replaceStrings>

Required Attributes
replace A comma-separated list of strings to be replaced. The backslash ("\") acts as an escape character for special characters
with A comma-separated list of replacement strings corresponding to the strings in the replace attribute.

Example
<%-- Replace %name with 'Jim' and %age with '47' --%>
<c:replaceStrings replace="%name,%age" with="Jim,47">
    My name is %name. My age is %age.
</c:replaceStrings>


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