On Thu, 20 Dec 2001, martin eberle wrote:
>
> Question 1:
> >From which base directory does tomcat try to access the data dir?
> (/var/tomcat4/bin/../webapps/mywebap/data/attachements/) ??...
>
>From whatever directory Tomcat itself is running. That varies between
different versions of Tomcat
o:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 20. Dezember 2001 14:43
An: Tomcat Users List
Betreff: RE: File upload won't work with Tomcat4 ...
I sniffed around google for 10 minutes and came up with perfect and
simple code for this task.
Look under
"java servlet http upload"
-O
I sniffed around google for 10 minutes and came up with perfect and simple code for
this task.
Look under
"java servlet http upload"
-Original Message-
From: martin eberle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 3:42 AM
To: [EMAIL PROTECTED]
Subject: File upload
Try to upload to upload your data files in the apache htdocs directory and
access them via your JSP files from there. This is our setup in our
webhosting company. All our JSP apps are in /webapps directory. And all the
rest of the files (*.html, *gif, *.jpg, *.zip) are in /htdocs.
At 09:42