Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How does the JSP editor resolve page imort references?
How does the JSP editor resolve page imort references? [message #183748] Wed, 06 December 2006 01:11 Go to next message
Ray Hurst is currently offline Ray HurstFriend
Messages: 28
Registered: July 2009
Junior Member
I created a index.jsp file and I have two page import directives. The JSP
editor has marjked them unresolved. I imported the jar files that have the
code insided and it is till marked unresolved.
So how does the page import directives get resolved?
Re: How does the JSP editor resolve page imort references? [message #183764 is a reply to message #183748] Wed, 06 December 2006 05:52 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

Ray Hurst wrote:
> I created a index.jsp file and I have two page import directives. The JSP
> editor has marjked them unresolved. I imported the jar files that have the
> code insided and it is till marked unresolved.
> So how does the page import directives get resolved?

They're resolved according to the Java Build Path of the
project--are the classes you've imported on the build path?
Additionally, modifying the build path doesn't automatically trigger
a revalidation of the JSP files. You could be seeing a stale warning.

--
Nitin Dahyabhai
Structured Source Editor


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: How does the JSP editor resolve page imort references? [message #183784 is a reply to message #183764] Wed, 06 December 2006 08:20 Go to previous messageGo to next message
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
Try using the 'validate' option on the project - may help.
Also look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=153898


"Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
news:el5lr7$g18$2@utils.eclipse.org...
> Ray Hurst wrote:
>> I created a index.jsp file and I have two page import directives. The JSP
>> editor has marjked them unresolved. I imported the jar files that have
>> the code insided and it is till marked unresolved.
>> So how does the page import directives get resolved?
>
> They're resolved according to the Java Build Path of the project--are the
> classes you've imported on the build path? Additionally, modifying the
> build path doesn't automatically trigger a revalidation of the JSP files.
> You could be seeing a stale warning.
>
> --
> Nitin Dahyabhai
> Structured Source Editor
Re: How does the JSP editor resolve page imort references? [message #183930 is a reply to message #183748] Fri, 08 December 2006 00:36 Go to previous message
Ray Hurst is currently offline Ray HurstFriend
Messages: 121
Registered: July 2009
Senior Member
Ray Hurst wrote:
> I created a index.jsp file and I have two page import directives. The JSP
> editor has marjked them unresolved. I imported the jar files that have the
> code insided and it is till marked unresolved.
> So how does the page import directives get resolved?
>
>

I'm not sure if it was the right thing to do.
I ended up doing Properties -> J2EE Module Dependencies -> Add External
JARS.
This fixes the export to WAR file also.
Thanks
Previous Topic:Validation after switching editors
Next Topic:Web project and does not work
Goto Forum:
  


Current Time: Thu Mar 28 23:32:02 GMT 2024

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

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

Back to the top