|JSP 2.0 validation on a Java Project (not a Dynamic Web project) [message #496693]
||Tue, 10 November 2009 19:22
| Aiman Alsari
Registered: November 2009
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.
|Re: JSP 2.0 validation on a Java Project (not a Dynamic Web project) [message #496892 is a reply to message #496693]
||Wed, 11 November 2009 11:33
|| Ian Tewksbury
Registered: July 2009
Location: RTP, NC, USA
Can you check what version of WTP you are running on? I expect 3.1, but if you could check that would be helpful.
I tried this scenario on the latest stable WTP 3.2 milestone and did not see the problem but I think JSP 2.0 validation should be present in 3.1 as well, hence my curiosity about your WTP version.
“When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return.” ~Leonardo da Vinci
Powered by FUDForum
. Page generated in 0.07077 seconds