user  

Struts tag to safe print a value

Graham Leggett
Tue, 06 May 2008 10:40:31 -0700

Hi all,

I have been trawling the docs, but haven't yet found a tag listed that will do this.

I need to display some text on the screen, which may contain newlines, or stray html tags. I'd like the newlines converted to <br/>, and have other html tags stripped/quoted or otherwise rendered harmless.

Is there a struts tag that does this?

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

  • Struts tag to safe print a value Graham Leggett