Well, it should be relatively simple. Add the following to your web.xml:

    <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>


Nix.



________________________________
From: Dola Woolfe <dolac...@yahoo.com>
To: Tom Cat <tomcat-u...@jakarta.apache.org>
Sent: Thursday, May 14, 2009 8:43:47 PM
Subject: .html pages as .jsp pages


Hi,

I need to give my jsp files the extension .html

1. How do I configure tomcat to treat .html files as .jsp files?

2. Off topic? How do I set up Eclipse so that .html files are opened with the 
same editor as .jsp files and give me all of the syntax highlighting, etc.

Many thanks in advance,

Dola


      

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


      

Reply via email to