JSP 2.0 taglib definition inside <jsp-config>

Hi there,

I just setup my first jsp2 webapp and unfortunatly idea doesnt support that yet as it seems.

the webapp2.4 xml schema requires that taglib definitions are inside the <jsp-config> element. unfortunatly IDEA (850, 3.0.4) doesnt expect it there so

<%@ taglib uri="/tags/struts-html" prefix="html" %>

is marked red although its correctly defined in the web.xml jsp-config.

Is this a known issue? I really would like to use IDEA without all the red marks in the editor.

6 comments
Comment actions Permalink

I had the same problem and it took me quite a long time until I figured out that I had to register the tag library definition uri in the IDE Settings - Resource dialog.

It would be nice if IDEA could understand the taglib-uri and taglib-location entries from the web.xml file.

Is there already a tracker request for this feature? I searched in the tracker but could not find out ...

Cheers

Benoît

0
Comment actions Permalink

It would be nice if IDEA could understand the
taglib-uri and taglib-location entries from the
web.xml file.


As I understand the docs, it's already supposed to do that. But, as you've discovered, it apparently doesn't work. I discovered this the other day, too (see http://www.intellij.net/forums/thread.jsp?forum=4&thread=28930 ), and posted to this group, but haven't received any responses.

What version are you using? The EAP? I'm interested because I still couldn't get it to work even after registering the URI as a resource (see my post for more info). I was using build 695, Win2k.

0
Comment actions Permalink

I was using version 873 on Windows XP, but could reproduce the problem on Windows NT 4 as well.

0
Comment actions Permalink

Should I open a tracker request for it?

0
Comment actions Permalink

if there is not already a duplicate, and please search closely sometimes
you won't find it on the first hit, then always file a bug for something
you don't feel works right.

R

? wrote:

Should I open a tracker request for it?


0
Comment actions Permalink

Well actually it seems to work fine with build 876 !

:-D

0

Please sign in to leave a comment.