Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Using the JSP Editor on JSPs files which don't have .jsp extension ?
Using the JSP Editor on JSPs files which don't have .jsp extension ? [message #176075] Wed, 02 August 2006 03:43 Go to next message
Darryl Miles is currently offline Darryl Miles
Messages: 123
Registered: July 2009
Senior Member
I have added the extension *.wml to Platform Preferences -> General ->
Editors -> File Associations.

I have then added the JSP Editor to the associated editors list at the
bottom.


I have then right clicked from Project Explorer on one of my *.wml files
and selected Open With -> JSP Editor.

But it refuses to behave like a JSP Editor and tries to perform XML
validation on the file.

The servlet container Tomcat once configured to treat *.wml as JSP files
correctly emits and processes the page contents.


Am I doing things correctly ?


Darryl
Re: Using the JSP Editor on JSPs files which don't have .jsp extension ? [message #176113 is a reply to message #176075] Wed, 02 August 2006 13:59 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2274
Registered: July 2009
Senior Member
Darryl L. Miles wrote:
> Am I doing things correctly ?

Not quite, http://www.eclipse.org/webtools/faq/main.html#xml_1
should get you going.

--
- Nitin


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Using the JSP Editor on JSPs files which don't have .jsp extension ? [message #176140 is a reply to message #176113] Wed, 02 August 2006 16:50 Go to previous messageGo to next message
Darryl Miles is currently offline Darryl Miles
Messages: 123
Registered: July 2009
Senior Member
Nitin Dahyabhai wrote:
> Darryl L. Miles wrote:
>> Am I doing things correctly ?
>
> Not quite, http://www.eclipse.org/webtools/faq/main.html#xml_1 should
> get you going.
>

Thanks for the pointer.

But I'm still not having any luck, I have added "*.wml" into the "JSP"
and "XML" entries under Content Types. There was no change in behavior
when creating a new JSP editor.

Darryl
Re: Using the JSP Editor on JSPs files which don't have .jsp extension ? [message #176159 is a reply to message #176140] Wed, 02 August 2006 18:37 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2274
Registered: July 2009
Senior Member
Darryl L. Miles wrote:
> But I'm still not having any luck, I have added "*.wml" into the "JSP"
> and "XML" entries under Content Types. There was no change in behavior
> when creating a new JSP editor.

Actually, you only want to add it to "JSP". Do you have any other
JSP editors installed?

--
- Nitin


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Using the JSP Editor on JSPs files which don't have .jsp extension ? [message #176189 is a reply to message #176159] Wed, 02 August 2006 23:47 Go to previous message
Darryl Miles is currently offline Darryl Miles
Messages: 123
Registered: July 2009
Senior Member
Nitin Dahyabhai wrote:
> Darryl L. Miles wrote:
> Actually, you only want to add it to "JSP". Do you have any other JSP
> editors installed?

Not that I'm aware of. WTP is providing my JSP editor AFAIK.

I'm expecting XML inside JSP behavior.

Darryl
Previous Topic:Web Service creation error
Next Topic:WTP-ModelHandler
Goto Forum:
  


Current Time: Mon Sep 22 00:16:16 GMT 2014

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

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