I have a code base which currently uploads file using Post and has enctype as multipart/form-data. Now I need to include some form items i.e. some parameters will also be pa
To send a parameter with a FileUpload it just needs to be added in the URL within the setAction method
As follows:
formPanel.setAction("<ProjectURL>/<YourServletName>?<YourParameterName>="+parameter);
And in your servlet simply get the parameter as follows:
req.getParameter("<YourParameterName>");
Hope it helps ;-)