I am able to upload files through servlets. But the problem is my html form has several text fields apart from an upload field. Whenever I am using ENCTYPE="multipart/form-data" in my form..the file is getting uploaded but my request.getParameter() values are returning NULL.
Can anybody please help and let me know what I am supposed to change to make my application work with both uploading and returning the values keyed in by the user.
getParameter doesn't work with multi-part forms. You will need to check the documentation for whatever upload library you are using to see how to retrieve your form variables.
I am using com.oreilly.servlet.MultipartRequest for uploading my file. If possible can you please tell me what am I supposed to use instead of request.getParameter() for getting the values.
ford Jr, Sorry to nag, but I don't think you're trying hard enough to create a convincing display name.
There's no way for us to realistically check the real name of each and every visitor to the site, so we tend to accept anything which sounds 'good enough', but you're not there yet. I can offer a bunch of alternatives: Ford Simpson, Ford Ponting, Ford Smithon. All these created without taxing my brain at all.
Please try again. Unfortunately it's sometimes easier to delete the account and start from scratch, but we hope it doesn't come to that.
thanks, Dave.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.