Hello Everyone,

I am developing my first web application using Spring and I was just wondering if Spring has a library to help with XSS prevention, and encoding or stripping javascript special characters from form input.

If not does anyone know of any well-developed libraries that would be good to use?

The input values will be stored in a database as well as be displayed inside <div> tags and the title attribute of a few <td> tags.

Thanks a bunch!