In my web app the input from html forms goes to a database and then to html (like forums or comments).
I want to know how should I secure my web app? Which characters (html tags) should I remove from the textarea?
My web app is in Spring MVC, but rules may be more general.