I am using GWT

3 Listbox are Add in container (verticalPanel) . container is added to
formPanel.

These List box has more then one value.

On the server side i Have this code.

ServletFileUpload upload = new ServletFileUpload();

        FileItemIterator iterator = upload.getItemIterator(request);
        while (iterator.hasNext()) {
            FileItemStream item = iterator.next();
             stream = item.openStream();

            if (item.isFormField()) {
                log.warning("Got a form field: " + item.getFieldName()
+ item.getName() + item.);
                System.out.println(" chk  " +item.getFieldName() +"
=  "+ Streams.asString(item.openStream()));



            }else{

                log.warning("Got an uploaded file: " +
item.getFieldName()
                        + ", name = " + item.getName());
                fileName = item.getName();
                mimetype = item.getContentType();



            }
        }

    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
but i can get get only the first value of the List box

Plz tell me how to get all the values of the list box

Note : I cant send Listbox through RPC cause these list box is related
to file which is to send to server and server to external repository.

Some one plz Help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to