commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Vasileios.Kantart...@nc3a.nato.int>
Subject RE: servletFile upload: javax.servlet,servlet throws exception
Date Fri, 26 Aug 2005 11:14:52 GMT

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:mfncooper@gmail.com] 
Sent: 25 August 2005 22:24
To: Jakarta Commons Users List
Subject: Re: servletFile upload: javax.servlet,servlet throws exception

On 8/25/05, Vasileios.Kantartzis@nc3a.nato.int
<Vasileios.Kantartzis@nc3a.nato.int> 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:vasileios.kantartzis@nc3a.nato.int
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message