Mark,

I guess this is one of the mostly asked questions... Have you ever searched
the mailing list about that topic?

The solution is: 
You just have to set the filter="false" in the bean:write tag.

Regards,
Bernhard


-----Urspr�ngliche Nachricht-----
Von: Mark Lowe [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 4. Februar 2003 11:16
An: Struts List
Betreff: HTML entities


Has anyone any information on preventing "<" and ">" being translated 
into &lt; and &gt; when using the tag libs..

I have a bunch of data in my sql... there are a few presentation tags 
strored in the db (e.g. <br>, <b> etc)..

I've parsed the results to replace any entities to "<" etc but they're 
being coverted in the jsp when iterating through the result...

My results set contains

<br> etc

i read this into map which i then put into an array (array of maps)

put the array in the request...

It seems to me that

the encoding is happening
1. during the iteration
2. when being set in the request
3. when being added to the map

I'm working my way through these possibilties now but if anyone knows 
anything then please don't be shy..

Any suggestions?

Thanks mark




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to