Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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 User
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 Dahyabhai
Messages: 2314
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 WTP, IBM
Previous Topic:plugins installed but class not found
Next Topic:Tomcat with Eclipse.
Goto Forum:
  


Current Time: Fri Oct 31 09:55:46 GMT 2014

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

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