chris wrote: > > Be careful: if you undeploy the webapp, you will have all those files > deleted by Tomcat. > Ok. Thank you!
André wrote: > > Thanks. Seen. Lea, do you follow ? > Yes, thanks! Ok. I do not properly understand the doc.: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html 1) "aliases" is an attribute. Is it an attribute of the "Context" element? 2) I have a "context.xml" file in "META-INF" in both "w1" and "w2". I have tried: 2.A) context.xml <?xml version='1.0' encoding='utf-8'?> <Context aliases="/attachments=C:\somewhere_1\somewhere_2\somewhere_3"> [...] </Context> 2.B) I've created a "foo.txt" file in the directory "C:\somewhere_1\somewhere_2\somewhere_3\" 2.C) test_download.html <html> <head> <title>Test download</title> </head> <body> /attachments/foo.txt Foo.txt </body> </html> When I click the link, I get a 404 error: HTTP Status 404 - /attachments/foo.txt type Status report message /attachments/foo.txt description The requested resource (/attachments/foo.txt) is not available. What am I doing wrong? Thank you and best regards, -- Léa -- View this message in context: http://old.nabble.com/WebApps-sharing-uploaded-files-tp32570911p32595832.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org