struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Seinsche <struts-u...@seinsche.net>
Subject How to avoid character encoding for html tags
Date Fri, 11 Jun 2004 10:08:45 GMT
Hi all,

I have an application where the user should be allowed to use text 
formatting tags as <b> or <li> (and so on). To avoid that tags like 
<html> oder <body> (and so on) are used I check the for these tags 
before it's stored in the DB.

When the text is read from the DB my tags are encoded to &lt;b&gt;. How 
can this be avoided? It's indeed a nice feature, but I don't like this 
right now. ;-)

Hope someone can give me a hint.

Thanks,
Axel

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


Mime
View raw message