Skip to main content



      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 14: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 13:18 Go to previous message
Eclipse UserFriend
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
Previous Topic:plugins installed but class not found
Next Topic:Tomcat with Eclipse.
Goto Forum:
  


Current Time: Sun Jun 22 06:46:26 EDT 2025

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

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

Back to the top