Simple html-java question
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zugurt_zugurt
Posted On:   Wednesday, March 31, 2004 12:06 AM

Hi,
I am new to use file type input in html. What must I do after defining the form properly(multipart/form-data etc.)
to process and take the file to the server. I am using jsp pages to take the file.

When the form is not properle defined I get the path in the request object. Otherwise the request object is null.

Thanks for helps...

Re: Simple html-java question

Posted By:   Gajanan_Choudhari  
Posted On:   Wednesday, March 31, 2004 10:24 PM

Hi,
When you are using multipart/data from, request goes to server with stream. so form elements are not becoming available with request.getParameter(). You need to parse the stream and find the parameters.
For more details visit www.onjava.com or search for fileuploading.
Regard,
Gajanan
About | Sitemap | Contact