tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: 2nd Try: File Upload - MultipartRequest - Mod_jk
Date Mon, 23 Jun 2003 18:45:10 GMT
My guess:
- Don't use a relative path. Use an absolute path.
- Catch then log your exception (if one is thrown)



-Tim

Logan Scott wrote:
> Hello, again.
> 
> I'm attempting to create an upload program using the Oreilly package:
> http://www.servlets.com/cos/faq.html
> 
> This line of code:
> 
> MultipartRequest multi = new MultipartRequest(request, ".", 5242880);
> 
> works on a W2K server with Tomcat by itself, but not on a server with
> Apache-Tomcat-Mod_jk integration.
> 
> It may have something to do with the upload folder indicated by the ".".
> Is there a difference between Tomcat and Apache in the manner they
> access the file system? 
> 
> Please help.
> 
> Thanks,
> Logan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message