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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
