Ed Thompson wrote:
My model object defines the following string:
protected static final String navButton1= "<a class=\"nav\" href=\"titleList.m\">Back to Titles </a>";
Which my JSP implements as: <c:out value="${model.navButton1}"/>
But what I get in the HTML is:
<a class="nav" href="titleList.m">Back to Back to Titles </a>
I tried escaping the <> symbols, but the java compiler complains.
What am I doing wrong?
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click [INVALID FOOTER]
.
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click [INVALID FOOTER]