Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » include JSP from other project(False error when including JSP from another project at Eclipse Indigo)
include JSP from other project [message #1001620] Thu, 17 January 2013 04:15 Go to next message
Gergely Svigruha is currently offline Gergely SvigruhaFriend
Messages: 3
Registered: January 2013
Junior Member
Hi,

I use Eclipse Indigo Service Release 2. I have a Servlet 3.0 Dinamic Web Project (1) and a Web Fragment Project (2) in the same workspace. I've added the 2nd project to the 1st (Project Properties/Deployment Assembly and Java Build Path). I use some JSP fragments from the 2nd project (placed under src/META-INF/resources) in the 1st project using <jsp:include path="/xyz.jsp"/>.

When I deploy my program (with Eclipse to Tomcat 7) it works fine but Eclipse still signals and error:
"Fragment "/xyz.jsp" was not found at expected path"

It seems to me that Eclipse searches only in the 1st project's WebContent dir but not in the 2nd project's src/META-INF/resources dir.

Do I have to set something else at the project properties, or should I switch to Juno?

Thanks,
Greg
Re: include JSP from other project [message #1002678 is a reply to message #1001620] Sat, 19 January 2013 04:51 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 369
Registered: July 2009
Senior Member
This is a forum for the AspectJ development tools. You will get better help by posting on the WTP forum: http://www.eclipse.org/forums/index.php/f/88/
Previous Topic:Converted AJ project differs from native AJ project
Next Topic:How do I run a binary woven project?
Goto Forum:
  


Current Time: Thu Nov 27 05:58:50 GMT 2014

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

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