Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Opening files with other extension in Web Page Editor
Opening files with other extension in Web Page Editor [message #199842] Mon, 17 September 2007 12:58 Go to next message
Eclipse UserFriend
Originally posted by: c93henan.hotmail.com

Hello,

I use a company specific web framework where the xhtml pages used have
another file extension than .html. When I open these files with the Web
Page Editor I get a java.lang.NullPointerException. If I change the
extension to .html it opens fine. I can not find any configuration to
make this work. Does anyone know a way around this?

Many Thanks
Henrik
Re: Opening files with other extension in Web Page Editor [message #200053 is a reply to message #199842] Wed, 19 September 2007 20:43 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Hi Henrik,

I think you can get this to work by registering your extension as an HTML
content type. Go to Window->Preferences->General->Content
Types->Text->HTML and add your file extension.

Lawrence
Re: Opening files with other extension in Web Page Editor [message #200060 is a reply to message #200053] Thu, 20 September 2007 05:57 Go to previous message
Eclipse UserFriend
Originally posted by: c93henan.hotmail.com

Thank you very much! That fixed the problem.

/Henrik

lmandel@ca.ibm.com skrev:
> Hi Henrik,
>
> I think you can get this to work by registering your extension as an HTML
> content type. Go to Window->Preferences->General->Content
> Types->Text->HTML and add your file extension.
>
> Lawrence
Previous Topic:Frustrating problem with WTP 2.0 EJB project
Next Topic:WAR Validation failure
Goto Forum:
  


Current Time: Tue Apr 16 11:28:28 GMT 2024

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

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

Back to the top