Re: Problems loading external stylesheet in Tomcat
haim said: I had something similar and it was because I placed the link element outside of the head element in my a JSP file that was included as an header. Check it out , haim . Thanks for the suggestion, but no, I don't have any errors of that type. One of my sites use this linking technique: style type=text/css media=screen !-- @import style/style.css; -- /style But, neither that nor the other way:link rel=stylesheet type=text/ css href=style.css title=Stilmallar rev=stylesheet (with or without an ending /) work the very first load of the day (or something like that). After that firslt load it will work on in any browser on any machine. The only thing that got me wanting to solve it was that if one site didn't display the stylesheets, then no other site did the same. I have a feeling this is some kind of cache problem, but I have tried to delete the cache. I'll report back if I find out what is causing the trouble, but it's hard to determine as it appears randomly. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems loading external stylesheet in Tomcat
Anyone seen that the first hit of the day on a Tomcat website, doesn't load the external stylesheets? Reloading the page loads the stylesheets also. Can I enforce external stylesheets must be sent with the page somehow? I only seen this is in Safari so far, but it looks like a server problem, I'll put a log on there to see if it's true, but if you recognize this problem, please share your experience. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems loading external stylesheet in Tomcat
Hi, Tomcat doesn't care or know about stylesheets. Your resultant HTML should contain references to stylesheets thus: link rel=stylesheet href=/the/styles.css / This gets spat out as HTML (which it is) and the browser takes care of linking them in. Allistair. -Original Message- From: Mieke Banderas [mailto:[EMAIL PROTECTED] Sent: 28 February 2005 09:25 To: Tomcat Users List Subject: Problems loading external stylesheet in Tomcat Anyone seen that the first hit of the day on a Tomcat website, doesn't load the external stylesheets? Reloading the page loads the stylesheets also. Can I enforce external stylesheets must be sent with the page somehow? I only seen this is in Safari so far, but it looks like a server problem, I'll put a log on there to see if it's true, but if you recognize this problem, please share your experience. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems loading external stylesheet in Tomcat
Mieke Banderas wrote: Anyone seen that the first hit of the day on a Tomcat website, doesn't load the external stylesheets? Reloading the page loads the stylesheets also. Can I enforce external stylesheets must be sent with the page somehow? I only seen this is in Safari so far, but it looks like a server problem, I'll put a log on there to see if it's true, but if you recognize this problem, please share your experience. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I had something similar and it was because I placed the link element outside of the head element in my a JSP file that was included as an header. Check it out , haim . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]