If you don't have any EL on that page you can disable it using the
"isELIgnored" attribute of the page directive.

musachy

On Mon, Mar 16, 2009 at 1:46 PM, John Cartwright
<john.c.cartwri...@noaa.gov> wrote:
> Thanks for the suggestion, Lukasz.  That's one of the things that I tried,
> but couldn't get it to work for me.  I need the braces to appear as such in
> the generated page as it's part of a javascript expression.
>
> I found a workable solution in:
>
> "this is a test: $\{0\}"
>
>
> but was hoping there might be a better way.
>
> --john
>
>
> Lukasz Lenart wrote:
>>
>> 2009/3/16 John Cartwright <john.c.cartwri...@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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to