How to check for empty text from a rich text editor?
I have a Rich text, similar to this one where I am typing.
By default, the value is set to <br>
so, in Java when i check for request.getParameter("desc");
I will get the value as <br>
I want to check for empty string, including any html tags like just <br><hr>
etc
Is this possible?
`. I am expecting an empty space or line, and I can do `descStr.length==0` to check if its empty, so this didnt work for me. is there an easy way to fix, if not I will have to change the solution. – Nithy May 27 '13 at 11:14