Sorry i misread your post, that is the solution to
retrieve the values if you have more than one field
with the same name.
If you have file0 through file<n> this should work:
request.getParameter("file0");
..
request.getParameter("file<n>");
if file1 through file<n> are null against your expectations,
I would say something is wrong on the client side.
Some recommendations:
- change method to get so you can see the fields as query string.
- Make shure that all fields are in the same form
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 9:38 AM
> To: [EMAIL PROTECTED]
> Subject: RE: javascript and servlets.
>
>
>
>
> but I can't see how that will access the entry with name
> file1, file2 etc?
>