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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Eclipse JET Guide
Previous Page Home Next Page


Standard JET2 Control Tags


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
full tag <c:replaceStrings replace="value" with="value">
    content consumed by tag evaluation

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.

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

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