tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Problem with CSS in HTML
Date Thu, 05 Aug 2010 16:00:08 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter,

On 8/5/2010 10:01 AM, PDiefent wrote:
> My first test of the new Tomcat 7.0.0 release endet with following problem:
> In my HTML page I'm using a stylesheet:
> <link rel="stylesheet" type="text/css" href="styles/tabStyles.css"></link>
> This works fine with Tomcat 5 and Tomcat 6!
> Tomcat 7 changes the link when the page is shown in the browser:
> <link rel="stylesheet" type="text/css"
> href="../styles/tabStyles.css"></link>
> 
> How can I avoid this?

Show us the code that emits your <link> element and we can take a look.
As Andre points out, Tomcat will not rewrite your content unless you ask
it to do so.

Also, are you using Tomcat directly, or do you have another web server
(like Apache httpd), proxy, or load-balancer between the client and Tomcat?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxa4AgACgkQ9CaO5/Lv0PCGgwCfQ50guJUe6mE37yeJGQxsroT2
OsoAnj25YAQKR521qiyUcfXNw9xPiCpt
=Z70w
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message