tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mykola A. Nickishov" ...@mn.com.ua>
Subject Re: .htm problem
Date Tue, 31 Jul 2001 22:47:20 GMT
And what about using Apache+mod_rewrite for static content?

"Deacon Marcus" <deacon_marcus@wwtech.pl> writes:

> Hi,
> Check your web.xml, you have
> 
>   <!-- The mapping for the JSP servlet -->
>   <!-- Comment this out if you do not want "jsp" service -->
>   <servlet-mapping>
>     <servlet-name>jsp</servlet-name>
>     <url-pattern>*.jsp</url-pattern>
>   </servlet-mapping>
> 
> In your global (conf\web.xml) web.xml. You can add similar mapping:
> 
>   <servlet-mapping>
>     <servlet-name>jsp</servlet-name>
>     <url-pattern>*.htm</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>jsp</servlet-name>
>     <url-pattern>*.html</url-pattern>
>   </servlet-mapping>
> 
> To either conf\web.xml to have it active for every web app or to
> WEB-INF\web.xml for specific web apps.

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE

Mime
View raw message