Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » html treated as jsp
html treated as jsp [message #200343] Sun, 23 September 2007 23:56 Go to next message
Eclipse UserFriend
Originally posted by: aaronfude.gmail.com

Hi,

How do I get Eclpise to let me work with .html pages as if they were .hsp
pages (i.e. parse code, etc)?

Thank you in advance,

Aaron
Re: html treated as jsp [message #200413 is a reply to message #200343] Mon, 24 September 2007 18:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aaronfude.gmail.com

Any thoughts?
Re: html treated as jsp [message #200450 is a reply to message #200343] Mon, 24 September 2007 22:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam.hardy.no.spam.cyberspaceroad.spam

Aaron on 24/09/07 00:56, wrote:
> Hi,
>
> How do I get Eclpise to let me work with .html pages as if they were
> .hsp pages (i.e. parse code, etc)?

have you tried General -> Editors -> File Associations?
Re: html treated as jsp [message #200458 is a reply to message #200450] Tue, 25 September 2007 01:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aaronfude.gmail.com

Yes, unfortunately selecting the JSP editor does not seem to change
anything.

Is there anything else I can try?
Re: html treated as jsp [message #200466 is a reply to message #200413] Tue, 25 September 2007 07:09 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

Aaron wrote:
> Any thoughts?

Unfortunately, it's not possible. That filename extension is locked
to the HTML content type, and it will only be treated as HTML where
ever it is used.

--
Nitin Dahyabhai
Structured Source Editing


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: html treated as jsp [message #200575 is a reply to message #200458] Tue, 25 September 2007 23:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aaronfude.gmail.com

Aaron wrote:

> Yes, unfortunately selecting the JSP editor does not seem to change
> anything.

> Is there anything else I can try?

I'm really hoping to find the answer to this question!

Thanks,

Aaron
Re: html treated as jsp [message #200617 is a reply to message #200575] Wed, 26 September 2007 13:23 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Aaron wrote:
> Aaron wrote:
>
>> Yes, unfortunately selecting the JSP editor does not seem to change
>> anything.
>
>> Is there anything else I can try?
>
> I'm really hoping to find the answer to this question!
>
Have you tried adding the extension to the Content-Type. Preferences ->
General -> Content-Type

Find the JSP entry, and add your particular extension to the JSP entry.
Then reopen with the editor and see if it works.

Dave


> Thanks,
>
> Aaron
>
Re: html treated as jsp [message #200701 is a reply to message #200617] Thu, 27 September 2007 16:25 Go to previous message
Eclipse UserFriend
Originally posted by: aaronfude.gmail.com

Yup!

THANK YOU!!!
Previous Topic:WTP with Websphere 6.0
Next Topic:Relative file path problem while running JSF Project in eclipse with Tomcat runtime
Goto Forum:
  


Current Time: Fri Mar 29 07:15:12 GMT 2024

Powered by FUDForum. Page generated in 0.07964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top