JSP 2.0 validation on a Java Project (not a Dynamic Web project) [message #496693] |
Tue, 10 November 2009 19:22  |
Eclipse User |
|
|
|
Hi there,
I am having a problem with validating my JSPs. I can do the following without Eclipse complaining:
<%@taglib uri='/WEB-INF/cheese.tld' prefix='cheese' %>
but when I try to use 'tagdir' which is JSP 2.0 syntax, it does not allow me to, saying that 'uri' is a required attribute and that there is no such thing as a 'tagdir' attribute. e.g.
<%@taglib tagdir="/tags/" prefix="m" %>
From about Eclipse:
Eclipse Java EE IDE for Web Developers.
Build id: 20090920-1017
This code resides in a Java Project rather than a Dynamic Web Project, but I can not found anywhere that tells the JSP validator to switch to JSP 2.0 validation.
Is the only way around this to switch to a dynamic web project or can I somehow fix Eclipse and tell it to validate correctly?
Any help would be greatly appreciated.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03823 seconds