You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Charles Sabourdin <zo...@yahoo.com> on 2000/12/04 12:07:38 UTC

RE: To Parse JSP has HTML ?

It does, thanks.
For information :
 <web-app>
     <servlet-mapping>
         <servlet-name>
             jsp
         </servlet-name>
         <url-pattern>
             *.htm
         </url-pattern>
     </servlet-mapping>
 </web-app>
works.
but I try the html with 
 <web-app>
     <servlet-mapping>
         <servlet-name>
             jsp
         </servlet-name>
         <url-pattern>
             *.htm
         </url-pattern>
     </servlet-mapping>
 </web-app>
and it does not works eithers.
--- Saurabh Shukla <sa...@cysphere.com> wrote:
> try using .htm instead of .html 
> it will work.
> 
> 
> Shuklix
> 
> -----Original Message-----
> From: Charles Sabourdin [mailto:zouylll@yahoo.com]
> Sent: Monday, November 27, 2000 9:29 PM
> To: tomcat-user@jakarta.apache.org
> Subject: To Parse JSP has HTML ?
> 
> 
>     Dear All,
>   I would like to parse files (*.html) with jsp tag.
> In order to hide that my web site use jsp. I thought
> I
> only had to use this tag in the web.xml of my web
> app.
> 
> <web-app>
>     <servlet-mapping>
>         <servlet-name>
>             jsp
>         </servlet-name>
>         <url-pattern>
>             *.html
>         </url-pattern>
>     </servlet-mapping>
> </web-app>
>   Apparently, my html are parse with no analyse.
> 
> I use RedHat 6.2 (jdk1.3 of sun) Tomcat 3.2 beta 6.
> could anyone correct my statment.
> please.
> thank you.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of
> Products.
> http://shopping.yahoo.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/