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:
&lt;a class=&#034;nav&#034; href=&#034;titleList.m&#034;&gt;Back to Back to Titles &lt;/a&gt;


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]

Reply via email to