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 <[email protected]>
To: Tom Cat <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]