Re: Cascading style sheets and tomcat

2007-04-18 Thread Johnny Kewl
] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, April 18, 2007 1:56 AM Subject: Re: Cascading style sheets and tomcat I guess I'm glad I don't use any of that stuff, then ;-D I only have two different styles in my app: data-entry pages and report pages, so simple css will probably do

Cascading style sheets and tomcat

2007-04-17 Thread David Kerber
Can I use .css files with .jsp's, particularly when they are being served up by Tomcat 5.5? Or do they only work with static html files? TIA! Dave - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Re: Cascading style sheets and tomcat

2007-04-17 Thread David Kerber
Thanks! David Smith wrote: Given that jsps are seen on the client as HTML files, yes -- all you want. I would go further and say it's encouraged as the primary means of decorating your pages. Just do something like this in your jsp to make sure the css is always found: link

Re: Cascading style sheets and tomcat

2007-04-17 Thread Martin Gainty
and destroy the original message without making a copy. Thank you. - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, April 17, 2007 4:09 PM Subject: Re: Cascading style sheets and tomcat I've used css in JSP files

Re: Cascading style sheets and tomcat

2007-04-17 Thread David Smith
to the server .. u c tomcat is very good ;) - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, April 17, 2007 10:23 PM Subject: Re: Cascading style sheets and tomcat Given that jsps are seen on the client as HTML files

Re: Cascading style sheets and tomcat

2007-04-17 Thread David Smith
Given that jsps are seen on the client as HTML files, yes -- all you want. I would go further and say it's encouraged as the primary means of decorating your pages. Just do something like this in your jsp to make sure the css is always found: link rel=stylesheet type=text/css

Re: Cascading style sheets and tomcat

2007-04-17 Thread Johnny Kewl
;) - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, April 17, 2007 10:23 PM Subject: Re: Cascading style sheets and tomcat Given that jsps are seen on the client as HTML files, yes -- all you want. I would go further

Re: Cascading style sheets and tomcat

2007-04-17 Thread Johnny Kewl
users@tomcat.apache.org Sent: Tuesday, April 17, 2007 11:15 PM Subject: Re: Cascading style sheets and tomcat True but if the css file is used throughout the site, it's fetched once using link ... / on the first page view. Every page view after that will just check status, using the pre

Re: Cascading style sheets and tomcat

2007-04-17 Thread David Kerber
@tomcat.apache.org Sent: Tuesday, April 17, 2007 10:51 PM Subject: Re: Cascading style sheets and tomcat David-- I would suggest incorporating style and or styleClass and errorStyle and or errorStyleClass attributes which derive from supplied CSS If your thinking MVC (and Struts specifically) I would look