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 14: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 13:18 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2133
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 Apr 18 06:52:35 EDT 2014

Powered by FUDForum. Page generated in 0.03020 seconds