Serving "static user generated" content

2009-07-08 Thread Jan Jonas
Hi everybody, I have the following problem: I have a web application that is deployed in a war files. This web application serves a lot of static content files (the users are able to upload the content (html, imgages ...)). Obviously it is not meaningful to pack the user's content in the war fi

AW: Serving "static user generated" content

2009-07-08 Thread Jan Jonas
a forward the request in one webapp the other one? Regards Jan -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Mittwoch, 8. Juli 2009 15:36 An: Tomcat Users List Betreff: RE: Serving "static user generated" content > Fr

ServletContext.getContext() always returns when calling from "root" context (even with crossContext)

2009-08-28 Thread Jan Jonas
I have a very annoying problem with tomcat 6: ServletContext.getContext() always returns null if I call the method from the "root" context, i.e. the context I have defined with path="/" in my server.xml. I also tried setting path="" (I read that this could fix problems in tomcat 5 - I'm using t