dcsimg
Using com.oreilly.servlets for upload to different directories
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   James_Gordon
Posted On:   Friday, August 9, 2002 03:30 AM

Hi,



My form allow users to upload 2 files, both to a different directories. When we create the MultipartRequest, we need to specific a location. And then, everything would go inside there.



MultipartRequest m =
new MultipartRequest(request, "e:/loc", 1024 * 1024);



Is there anyway to go around this?





Thanks in advance.

Re: Using com.oreilly.servlets for upload to different directories

Posted By:   Eelco_Cramer  
Posted On:   Friday, August 9, 2002 06:52 AM

Just move the files to the designated folder after the upload. You could use another upload manager for this as well. In this FAQ entry is a list of multipart request handlers.
About | Sitemap | Contact