You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Va...@nc3a.nato.int on 2005/08/25 14:44:59 UTC
servletFile upload: javax.servlet,servlet throws exception
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
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
Re: servletFile upload: javax.servlet,servlet throws exception
Posted by Martin Cooper <mf...@gmail.com>.
On 8/25/05, Vasileios.Kantartzis@nc3a.nato.int
<Va...@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