tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaakov Chaikin <yaakov.chai...@gmail.com>
Subject Re: JSP processing other than .jsp?
Date Thu, 17 Nov 2005 03:29:31 GMT
That is correct. However, it's much better not to do this since it
wastes a lot of bandwidth by sending the CSS code with every page.
Much better to use <link...> and let the browser cache the file
instead.

Yaakov.

On 11/16/05, Terence M. Bandoian <terence@tmbsw.com> wrote:
> Hi-
>
> In some cases, it may be desirable to include CSS or JavaScript files so
> that they are delivered in-line.  For example:
>
>        <%@include file="styles/style.css" %>
> or
>        <%@include file="styles/style.css.jspf" %>
>
> Unless I'm mistaken, JSP tags in files included in this manner should be
> processed regardless of the file extension.
>
> -Terence M. Bandoian
>
> P.S. My apologies for the previous reply.
>
>
> users-digest-help@tomcat.apache.org wrote:
>
> >>> Hello,
> >>>
> >>> how can I define, that e.g. the extension .css shall be processed by
> tomcat same as a .jsp-file?
> >>>
> >>> Regards
> >>> Marten
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message