You can build a matching pattern using RegExp , then call
regexp.test(input_value) . This function returns a boolean true if your
input_value matches your maching_pattern. In your case the matching pattern will
be a string of length zero and containing no spaces.
Santosh
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets