File upload won't work with Tomcat4 ...

2001-12-20 Thread martin eberle
Hi, i try to upload any stuff (mostly .zip, .doc, .xls, .txt) - but it doesn't matter which filetype, the result is always the same: Apache Tomcat/4.0.1 - HTTP Status 404 - ../webapps/mywebapp/data/attachements/61_7781091_win.ini (File not found) type Status report message

Re: File upload won't work with Tomcat4 ...

2001-12-20 Thread Lester June Cabrera
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

AW: File upload won't work with Tomcat4 ...

2001-12-20 Thread martin eberle
-Ursprüngliche Nachricht- Von: Lester June Cabrera [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 20. Dezember 2001 09:45 An: Tomcat Users List; martin eberle Betreff: Re: File upload won't work with Tomcat4 ... Try to upload to upload your data files in the apache htdocs directory and access

Re: AW: File upload won't work with Tomcat4 ...

2001-12-20 Thread Lester June Cabrera
- Von: Lester June Cabrera [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 20. Dezember 2001 09:45 An: Tomcat Users List; martin eberle Betreff: Re: File upload won't work with Tomcat4 ... Try to upload to upload your data files in the apache htdocs directory and access them via your JSP

RE: File upload won't work with Tomcat4 ...

2001-12-20 Thread Bongiorno.Christian
won't work with Tomcat4 ... Hi, i try to upload any stuff (mostly .zip, .doc, .xls, .txt) - but it doesn't matter which filetype, the result is always the same: Apache Tomcat/4.0.1 - HTTP Status 404 - ../webapps/mywebapp/data/attachements/61_7781091_win.ini (File not found) type Status report

AW: File upload won't work with Tomcat4 ...

2001-12-20 Thread martin eberle
: Bongiorno.Christian [mailto:[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

RE: File upload won't work with Tomcat4 ...

2001-12-20 Thread Bongiorno.Christian
(); } } } -Original Message- From: martin eberle [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 8:49 AM To: Tomcat Users List Subject: AW: File upload won't work with Tomcat4 ... hmmm, thx for the hint, but i've checked out google by nearly the same keywords and websites in result ;) i'm

AW: File upload won't work with Tomcat4 ...

2001-12-20 Thread martin eberle
Users List Betreff: RE: File upload won't work with Tomcat4 ... Here is the code I use for uploading... It's like 5 lines...Ok, I made it a smidge more complicated -- this is the cool-kid version. You know, production quality Didn't mean to be a pain -- didn't feel like openning my IDE

Re: File upload won't work with Tomcat4 ...

2001-12-20 Thread Craig R. McClanahan
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 (and

Re: AW: File upload won't work with Tomcat4 ...

2001-12-20 Thread Craig R. McClanahan
On Thu, 20 Dec 2001, martin eberle wrote: Date: Thu, 20 Dec 2001 15:27:12 +0100 From: martin eberle [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: AW: File upload won't work with Tomcat4 ... Thanks for the source