Where exactly did you get the NPE? Could you provide a stacktrace?
Don
On 5/25/07, dhilip mandava <[EMAIL PROTECTED]> wrote:
i have input fileds like url[], bitrate[]....like 5 fields.
i used array syantax [] because , dynamically i am adding those fields using
javascript with same name.
i want to get all those values in some array in action class
so,i wrote setter, getter for all those fileds as array type of string.
like
String[] url=null;
public string[] setUrl(string[] url){
this.url= url
}
but iam getting null pointer exception
even though i gave url[0],bitrate[0],........
url[1],bitrate[1]......
url[2],bitrate[2]............
i got null pointer exception
plz give me solution, if any problem...understanding excuse me
--
View this message in context:
http://www.nabble.com/problem-sending-array-values-to-struts2-action-tf3810516.html#a10785204
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]