So how do I stop that? I'm deploying my app under a particular context, and clearly I want to be able to just put in http://host/context/ and expect it to pick the home page. It doesn't, but just gives me a directory listing. So adding a / mapping solves this but stops CSS, and without it I get CSS but no root mapping!!
Bugger!
Anyone have any ideas?
Joe.
From: Tim Funk <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: web.xml: my default.css file does not work correctly Date: Sat, 31 Jul 2004 14:43:16 -0400
You have overriddent the default servlet. That mean its your servlet's job to serve static resources. (There a threads in the archives about this)
-Tim
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
