i am passing a list of checkboxes (having the same) in a JSP to a servlet...
but when i take it into a String[] by
request.getParameterValues("somename") an exception occurs
as it is null initially..
How can i make sure that i initialize it to some value so that i can avoid
the exception
because once the exception i cannot retrieve the remaining values
Regards
Amar Deep Singh
===========================================================================
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