I am getting the value of a multibox as a string array...but if none of the boxes are checked then the value becomes null and it is giving null pointer exception...How can i solve that? My jsp code is <logic:iterate id="data" name="resourcelist" type="com.sp.dct.security.bo.ResourceBO" indexId="index">
Please read your private messages regarding an important announcement.
Thank you,
Rob
Originally posted by Aswathy TS: I have tried with array length property ,.equals(null)....everything is giving null pointer exception...Please give some solution....
How about actually checking if the variable is null first?