struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: how to prevent JSP from interpreting ${0}
Date Mon, 16 Mar 2009 17:39:52 GMT
2009/3/16 John Cartwright <John.C.Cartwright@noaa.gov>:
> I'm trying to get the literal string "this is a test: ${0}" to be rendered
> in my JSP output.  Can someone please tell me how to protect this string
> from getting evaluated on the server-side?

Use HTML entities [1]

[1] http://www.w3schools.com/tags/ref_ascii.asp


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message