|include JSP from other project [message #1001620]
||Thu, 17 January 2013 04:15
| Gergely Svigruha
Registered: January 2013
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?
Powered by FUDForum
. Page generated in 0.01499 seconds