null values returned when using request.getParameters(
843840Mar 27 2002 — edited Apr 1 2002I have a html form which allows the user to choose options and select a file to upload. When I use method=Post I get null values returned. When I use method=Get I get my parameter values fine.. but I get an error.
"Posted content type isn't multipart/form-data"
I would like to know why I am getting null values returned when using Post. I am using the following to get the values from the name=value passed to the servlet.
String strIndustry = request.getParameter("frmIndustry");
String strCompany = request.getParameter("frmCompany");
String strCollabType = request.getParameter("frmCollaboration");
I have another form where the user can search information in a database that works just fine w/ either Get or Post
Or perhaps I am using oreilly MultipartRequest incorrectly??? but I copied it directly from another discussion.. ???
any thoughts
Thanks