How to verify text is HTML-free
843844Dec 3 2007 — edited Dec 4 2007This may not be the place, but I'm writing web apps that use JSF so I thought I'd post it here.
I was wondering if there is a library/class that I can use to check that a String is "free" of HTML.
Specifically, I want to make sure that every text and text area field are free of HTML before I store them to the database.
I looked on the Apache site but nothing jumped out at me.
Anyone seen anything like this?