WTP 2.0 RC1 - taglib requires URI [message #193234] |
Sat, 26 May 2007 23:47  |
Rupert Woodman Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm in the process of moving a project I have from WTP 1.5.4 to 2.0 RC1 (as
a side issue, I'm wondering how I move forward when RC2 comes out?).
A JSP (actually a .tag file - the lines work fine in a .jsp file) I have
which works fine in WTP 1.5.4 no longer works (gives red sqiggly underline)
under version 2.0. It's
possible that I'm taking advantage of a bug in version 1.5.4 and it should
never have worked, but looking at the Sun docs for JSP 2.0, I think it
should be fine.
The code I have is as follows:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="om" %>
It is complaining about the 3rd line with the following message (shown in
the "Problems" tab):
Missing required attribute "uri"
Looking at the Sun docs for JSP 2.0
( http://java.sun.com/products/jsp/syntax/2.0/syntaxref2012.ht ml#1003416) it
looks to me as if the uri attribute is optional, if you have a tagdir
attribute, which I do.
If it is a bug, is there a workaround? Of course, if I'm doing something
wrong, please say so! :-)
I'm using Tomcat 6.0.23 (so that I can use JSF - which is why I'm upgrading
to version 2 of WTP), if that has any impact.
Many thanks for your help
Rgds
Rupert.
|
|
|
Re: WTP 2.0 RC1 - taglib requires URI [message #193428 is a reply to message #193234] |
Tue, 29 May 2007 10:28   |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Rupert,
seems to be a bug in 2.0. You should file a bugzilla report.
1.5 did not report an error because they could not deal with tag files in this
version.
Wolfgang
Rupert Woodman wrote:
> Hi,
>
> I'm in the process of moving a project I have from WTP 1.5.4 to 2.0 RC1 (as
> a side issue, I'm wondering how I move forward when RC2 comes out?).
>
> A JSP (actually a .tag file - the lines work fine in a .jsp file) I have
> which works fine in WTP 1.5.4 no longer works (gives red sqiggly underline)
> under version 2.0. It's
> possible that I'm taking advantage of a bug in version 1.5.4 and it should
> never have worked, but looking at the Sun docs for JSP 2.0, I think it
> should be fine.
> The code I have is as follows:
> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
>
> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
>
> <%@ taglib tagdir="/WEB-INF/tags" prefix="om" %>
>
>
> It is complaining about the 3rd line with the following message (shown in
> the "Problems" tab):
> Missing required attribute "uri"
>
> Looking at the Sun docs for JSP 2.0
> ( http://java.sun.com/products/jsp/syntax/2.0/syntaxref2012.ht ml#1003416) it
> looks to me as if the uri attribute is optional, if you have a tagdir
> attribute, which I do.
> If it is a bug, is there a workaround? Of course, if I'm doing something
> wrong, please say so! :-)
>
> I'm using Tomcat 6.0.23 (so that I can use JSF - which is why I'm upgrading
> to version 2 of WTP), if that has any impact.
>
> Many thanks for your help
>
> Rgds
>
> Rupert.
>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04255 seconds