Re: FileUpload and ActionForward

2004-03-03 Thread Tim Coy
Although...
With my limited programming experience I can not see how they have used
org.apache.commons.fileupload in the example
-- 
Tim Coy




> There is a sample application that ships with Struts (struts-upload.war)
> which shows how they wrapped commons-fileupload to work with ActionForms.
> 
> Hubert
> 
> --- Tim Coy <[EMAIL PROTECTED]> wrote:
>> I am trying to use
>> org.apache.commons.fileupload within an ActionForward()
>> to upload files.
>> 
>> Having created a
>> DiskFileUpload fu = new DiskFileUpload();
>> 
>> And parsed it with
>> 
>> List fileItems = fu.parseRequest(request);
>> 
>> I find that fileItems.size() = 0
>> 
>> I seemed to be not able to get the required information out of the request,
>> it appears to be empty.
>> 
>> Is it possible to do, will someone point me to an example?
>> 
>> 
>> -- 
>> Tim Coy
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Search - Find what you?re looking for faster
> http://search.yahoo.com
> 
> -
> 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]



Re: FileUpload and ActionForward

2004-03-03 Thread Tim Coy
Doh!

Perfect thank you
-- 
Tim Coy


> There is a sample application that ships with Struts (struts-upload.war)
> which shows how they wrapped commons-fileupload to work with ActionForms.
> 
> Hubert
> 
> --- Tim Coy <[EMAIL PROTECTED]> wrote:
>> I am trying to use
>> org.apache.commons.fileupload within an ActionForward()
>> to upload files.
>> 
>> Having created a
>> DiskFileUpload fu = new DiskFileUpload();
>> 
>> And parsed it with
>> 
>> List fileItems = fu.parseRequest(request);
>> 
>> I find that fileItems.size() = 0
>> 
>> I seemed to be not able to get the required information out of the request,
>> it appears to be empty.
>> 
>> Is it possible to do, will someone point me to an example?
>> 
>> 
>> -- 
>> Tim Coy
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Search - Find what you?re looking for faster
> http://search.yahoo.com
> 
> -
> 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]



Re: FileUpload and ActionForward

2004-03-03 Thread Hubert Rabago
There is a sample application that ships with Struts (struts-upload.war)
which shows how they wrapped commons-fileupload to work with ActionForms.  

Hubert

--- Tim Coy <[EMAIL PROTECTED]> wrote:
> I am trying to use
> org.apache.commons.fileupload within an ActionForward()
> to upload files.
> 
> Having created a
> DiskFileUpload fu = new DiskFileUpload();
> 
> And parsed it with
> 
> List fileItems = fu.parseRequest(request);
> 
> I find that fileItems.size() = 0
> 
> I seemed to be not able to get the required information out of the request,
> it appears to be empty.
> 
> Is it possible to do, will someone point me to an example?
> 
> 
> -- 
> Tim Coy
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



FileUpload and ActionForward

2004-03-03 Thread Tim Coy
I am trying to use
org.apache.commons.fileupload within an ActionForward()
to upload files.

Having created a
DiskFileUpload fu = new DiskFileUpload();

And parsed it with

List fileItems = fu.parseRequest(request);

I find that fileItems.size() = 0

I seemed to be not able to get the required information out of the request,
it appears to be empty.

Is it possible to do, will someone point me to an example?


-- 
Tim Coy



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