Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Including a JSP from an other projects
Including a JSP from an other projects [message #207460] Fri, 25 January 2008 19:38 Go to next message
Eclipse UserFriend
Originally posted by: fredds.programmer.net

Hi,

I'm working on a big Web application that have been split into several Web
projects under Eclipse.

Let say I have a "Common" project with a "/MyApp/Common.jsp" page.
I also have a "CustomerProfile" project with a JSP page that includes
"/MyApp/Common.jsp".

The problem is the JSP validator says:
"Fragment 'Common.jsp' was not be found at expected path
"/Common/MyApp/Common.jsp"

Is there a way to specify from which paths the JSP validator must search
JSP files? Like it's done for Java source where we can specify links to
other projects...

Cheers,
Fred
Re: Including a JSP from an other projects [message #207582 is a reply to message #207460] Mon, 28 January 2008 18:18 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Fred wrote:
> I'm working on a big Web application that have been split into several
> Web projects under Eclipse.
>
> Let say I have a "Common" project with a "/MyApp/Common.jsp" page.
> I also have a "CustomerProfile" project with a JSP page that includes
> "/MyApp/Common.jsp".
>
> The problem is the JSP validator says:
> "Fragment 'Common.jsp' was not be found at expected path
> "/Common/MyApp/Common.jsp"
>
> Is there a way to specify from which paths the JSP validator must search
> JSP files? Like it's done for Java source where we can specify links to
> other projects...

The validator is relying on the project's
..settings/org.eclipse.wst.common.component file to help determine
where fragments are located in your Dynamic Web Project. I am not
an authority on the contents and layout of that file, but I'm fairly
sure that directly referencing resources between projects is not
supported.

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:plugins installed but class not found
Next Topic:Tomcat with Eclipse.
Goto Forum:
  


Current Time: Fri Apr 26 22:11:43 GMT 2024

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

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

Back to the top