Hi,

I did this but when I click on a .html file to open it, I'm still not getting 
syntax aware editing like I do with .jsp pages. It still think it's HTML. 
Anything else I should look at?

Thanks

--- On Fri, 5/15/09, Karthik Nanjangude <karthik.nanjang...@xius-bcgi.com> 
wrote:

> From: Karthik Nanjangude <karthik.nanjang...@xius-bcgi.com>
> Subject: RE: .html pages as .jsp pages
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Friday, May 15, 2009, 9:44 AM
> 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:alok...@yahoo.com]
> 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 <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
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 




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

Reply via email to