Hi, I'm using FileUpload project and i've found some difficulties with FileItem implementation.
I would like to use my own implementation of FileItem processing a different disk storage. But, in FileUpload you're using a Class Cast to DefaultFileItem:
OutputStream os = ((DefaultFileItem) item).getOutputStream();.

So I've tried to extend DefaultFileItem, but I cannot access class private fields such as 'storeLocation' and/or 'byteStream'.
My questions are: Do I have to extend DefaultFileItem? (what's the interest of an Interface if I can't use a different implementation?)
Why isn't getOutputStream() a FileItem method?
Is there some workaround to this problem?

Thanks.
Susana.






_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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

Reply via email to