|Eclipse 3.2.1 + WTP 1.5.1 -- JSP, JSP Fragment, Taglib + Validation = Noise [message #181646]
||Fri, 13 October 2006 13:49
| Chris Phillipson
Registered: July 2009
I'm running Eclipse 3.2.1 + WebTools 1.5.1 via the Callisto distribution on
Windows XP Pro.
I have two J2EE Dynamic Web Projects setup: Common and Admin.
The Common project contains reusable source, libs, and jsps that I would
like the Admin project to consume.
So far I have gotten the Admin project to properly build without any compile
time exceptions. It properly recognizes the source and libs from Common.
However, when I open a jsp page that lives in Admin that references a jsp
fragment that lives in Common (the files are deployed together in the same
webapp), I'm unable to successfully validate the aforementioned jsp. I see
lots of false positive errors. Furthermore, the taglib that lives in Common
as a jar (in Common/web/WEB-INF/lib) with a .tld that lives in
Common/web/WEB-INF/jsp isn't recognized, so rolling over a custom tag shows
me "unknown tag".
The aforementioned jsp includes a fragment that contains a line like
<%@ taglib uri="/WEB-INF/jsp/loops.tld" prefix="tf" %>
The Admin project has both "Web App Libraries" and "Web App Libraries
[Common]" showing in the Package Explorer view.
Is there a way to set this project combination up so that jsps validate
along with their referenced jsp fragments?
Thanks in advance for any guidance.
Powered by FUDForum
. Page generated in 0.01615 seconds