On 7/5/06, Alec Swan <[EMAIL PROTECTED]> wrote:

I like your idea of using filters to rewrite CSS paths. Could you give
me a hint on how to do that best?

Actually, if you're in a hurry, you could just use the URL Rewrite Filter
 -- see <http://tuckey.org/urlrewrite/> -- an incredibly handy tool for lots
of other things as well  :-)

Writing your own would be pretty simple, though -- grab any request
that ends in '.css' , substring off the unwanted parts and forward to
the "correct" URL. Or if you only have a small number of style sheets,
you could put the original and "fixed" URLs in a HashMap and save
the string processing.  TMTOWTDI. :-)

HTH,
--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to