I have been wondering about this too. I also just noticed DiskFileUpload has been deprecated and the replacement classes listed do not seem to have the same functionality. Are there plans for an update to the user guides?


[EMAIL PROTECTED] wrote:
I managed to solve the problem using the DiskFileUpload object Using the parse request method provided. How would it be possible to do
the same using ServletFile upload?
Just make an instance othe object and pass my request reference wouldn't
that work? I would like to use the ServletFileUpload since
DiskFileUpload  seems to be deprecated.
Thank you -----Original Message----- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: 25 August 2005 22:24
To: Jakarta Commons Users List
Subject: Re: servletFile upload: javax.servlet,servlet throws exception

On 8/25/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

Hello all,
I am trying to wrap the servlet request method as described in the
documentation to extract form field information and the actual file
submitted .
I am using the ServletFileUpload class in order to extract the

desiered

information  as follows;
ServletFileUpload servlet = new ServletFileupload(factory) // a

factory

instance
Servlet.parseRequest(request); // the httpRequest.

At this point I get the following exception:
Sevlet execution threw an exception

With a reference to a code line number 116 in ServletFileUpload.java


You'll need to provide us with more information than that. That line
of code is simply a call to another parseRequest() method, so I can't
tell anything about what's going wrong from just that.

--
Martin Cooper



Does any one have a suggestion please ?
How should I get the requested form fields ?





V.(Billy) Kantartzis
Surveilance & Reconnaissance Recource Centre
Command & Control Systems Devision
T:+31(0)70374-3706
F: +31(0)70374-3079
E:[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Brian Cook
Digital Services Analyst
Print Time Inc.
[EMAIL PROTECTED]
913.345.8900

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to