2013/7/13 Alireza Fattahi <afatt...@yahoo.com>:
> Hi,
>
>
> I copied below in my web.xml
>
> <jsp-config>
>         <jsp-property-group>
>         <url-pattern>*.css</url-pattern>
>         <default-content-type>text/css</default-content-type>
>         </jsp-property-group>
>      </jsp-config>
>
> It did not helped ?! Is it a config for tomcat 7. I am using tomcat 6.
> The eclipse says that <default-content-type>  is invalid.
>

Yes, it is from JSP 2.2 which requires Servlet 3.0 / Tomcat 7.

For Tomcat 6 maybe you could make use of  include-prelude  element,
though it is a bit more work.

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

Reply via email to