This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Using FileUpload provided by Jakarta Common Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Using FileUpload provided by Jakarta Common" Watch "Using FileUpload provided by Jakarta Common" New topic
Author

Using FileUpload provided by Jakarta Common

Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
I am using FileUpload class provided by Jakarta Common for file upload.

I would like to ask, if the request is processed by FileUpload, will the content inside the request disappeared?

I have tried that, for multipart requests, if it is the 1st time I used FileUpload to process it, all data are there.

If I used FileUpload to process the SAME request next time, all data gone.

Any methods to retain the data inside the request so that I can process it for the 2nd time?

Thanks.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using FileUpload provided by Jakarta Common