Hi All,

I am developing a hibernate-struts base blog. And I would like to have my user to be able to use html tag such as : <br/> ;&nbsp etc in their posts.

The database field that I use to save the user post is in BLOG.

To display their post I use <bean:write/> tag. The problem with this tag is that it render the html tag as a string in the page. So if the user enters :

'My post on 20 June <br/>;&nbsp' it will display 'My post on 20 June <br/>;&nbsp' in the page.

Okay to get around this problem I use the old good <%=out.println(...)%> . It display the post as 'My Post on 20 June ;'. Everything is perfect except for the ';' at the end of the post.

Does anyone know how to ge around this problem. Thanks for the help :D

Regards,
Irfandhy Franciscus


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



Reply via email to