Hi
An Offline topic ....... :{
>> Off topic? How do I set up Eclipse so that .html files are opened with the
>> same editor as .jsp
In Eclipse --> windows --> Preference.. -> General -->
Editors --> File Associations
Map the *.html file to Assiociate JSP Editor
Simple :)
With regards
Karthik
-----Original Message-----
From: Nikola Milutinovic [mailto:[email protected]]
Sent: Friday, May 15, 2009 4:45 PM
To: Tomcat Users List
Subject: Re: .html pages as .jsp pages
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]