RE: Escaped HTML characters in bean:write/
Hi, You know, I've gone over the documentation several times, tried various debug statements, narrowed it down to bean:write, looked at the documentation again and managed to miss filter=false. I feel very foolish now... Thanks very much for your help though! Kind Regards, Chris. -Original Message- From: Shri [mailto:[EMAIL PROTECTED]] Sent: 28 November 2001 00:37 To: Struts Users Mailing List Subject: RE: Escaped HTML characters in bean:write/ add filter=false in your bean:write tag. Shri -Original Message- From: Chris Birch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 28 November 2001 11:29 AM To: [EMAIL PROTECTED] Subject: Escaped HTML characters in bean:write/ Hi, I have a simple CRUD struts application which stores text in a database. The text stored is often something like: Struts is a bbrilliant/b framework The idea is that simple html formatting can be applied to the text when it is output in a JSP. The text above gets stored in the DB without any problems, selects on the database show the information in there is exactly as was typed in, also, simple System.out.println on a ResultSet of that data show it as above. However, in my JSP I output the text from a bean property using bean:write / and in the html source I see that my and have become lt; gt; I actually want the markup to work as markup and not be escaped like this. Is it bean:write thats doing this, if so, is there a way to turn it off? Regards, Chris -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Escaped HTML characters in bean:write/
add filter=false in your bean:write tag. Shri -Original Message- From: Chris Birch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 28 November 2001 11:29 AM To: [EMAIL PROTECTED] Subject: Escaped HTML characters in bean:write/ Hi, I have a simple CRUD struts application which stores text in a database. The text stored is often something like: Struts is a bbrilliant/b framework The idea is that simple html formatting can be applied to the text when it is output in a JSP. The text above gets stored in the DB without any problems, selects on the database show the information in there is exactly as was typed in, also, simple System.out.println on a ResultSet of that data show it as above. However, in my JSP I output the text from a bean property using bean:write / and in the html source I see that my and have become lt; gt; I actually want the markup to work as markup and not be escaped like this. Is it bean:write thats doing this, if so, is there a way to turn it off? Regards, Chris -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Escaped HTML characters in bean:write/
sure chris, there is an attribute that says filter just put filter=false and you're all set. lucas -Original Message- From: Chris Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 2:29 PM To: [EMAIL PROTECTED] Subject: Escaped HTML characters in bean:write/ Hi, I have a simple CRUD struts application which stores text in a database. The text stored is often something like: Struts is a bbrilliant/b framework The idea is that simple html formatting can be applied to the text when it is output in a JSP. The text above gets stored in the DB without any problems, selects on the database show the information in there is exactly as was typed in, also, simple System.out.println on a ResultSet of that data show it as above. However, in my JSP I output the text from a bean property using bean:write / and in the html source I see that my and have become lt; gt; I actually want the markup to work as markup and not be escaped like this. Is it bean:write thats doing this, if so, is there a way to turn it off? Regards, Chris -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]