dcsimg
Jason's Hunter's MultipartRequest won't let me get other parameters
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mike_Lam
Posted On:   Monday, December 17, 2001 11:00 PM

Hi, I am using Jason Hunter's class to upload a file from a form. The upload is fine (MultipartRequest mreq = new MultipartRequest (request, "c:/upload");), but I am getting a null for all other parameter of the form when I called request.getParameter(). The input form is using post, and I have tried using a doGet() and a doPost() in my Servlet. Can anyone please tell me what's wrong with my servlet? Thanks.    More>>

Hi, I am using Jason Hunter's class to


upload a file from a form. The upload


is fine (MultipartRequest mreq = new


MultipartRequest


(request, "c:/upload");), but I am


getting a null for all other parameter


of the form when I called


request.getParameter(). The input form


is using post, and I have tried using a


doGet() and a doPost() in my Servlet.


Can anyone


please tell me what's wrong with my


servlet? Thanks.

   <<Less
About | Sitemap | Contact