Resolving tag libs

... and they've stopped working yet again ... :(

Can someone point me to a thread that explains how to get TLD files to resolve in builds after 1150?

5 comments

I've never been able to get a taglib showing up correctly in 4.0 ever since the early eap, so cheer up, you're not alone!

0

I had it working for a few builds, then it broke again, and stayed that way ....

... :(

0

then it broke again, and stayed
.. :(


For me it's working with Idea 4.0 !?

In the 'Web Module Settings' from the 'module settings', i declare my
dependencies to be put in the 'WEB-INF/lib' directory.
In my jsp page i declare tag library like this :
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
prefix="logic" %>

For my project's custom tag library, i put my 'tld' in a sub-directory
(/WEB-INF/tlds) located in one of my 'Web ressource directories' (see
'Web
Module Settings'). In my jsp page i write :
<%@ taglib uri="/WEB-INF/tlds/Repoweb.tld" prefix="repoweb" %>

Boris Gonnot PS: Hoping you can unederstand my poor english.

0

only works if the taglib resolves to a jar (no loose classes)
"gonnot" <no_mail@jetbrains.com> wrote in message
news:6840412.1078743294957.JavaMail.itn@is.intellij.net...

then it broke again, and stayed
.. :(

>

For me it's working with Idea 4.0 !?

>

In the 'Web Module Settings' from the 'module settings', i declare my
dependencies to be put in the 'WEB-INF/lib' directory.
In my jsp page i declare tag library like this :
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
prefix="logic" %>

>

For my project's custom tag library, i put my 'tld' in a sub-directory
(/WEB-INF/tlds) located in one of my 'Web ressource directories' (see
'Web
Module Settings'). In my jsp page i write :
<%@ taglib uri="/WEB-INF/tlds/Repoweb.tld" prefix="repoweb" %>

>

Boris Gonnot PS: Hoping you can unederstand my poor english.

>


0

Taglib recognition and autocomplete works fine with any taglib whose tlds are in a jarfile, but I can't get "Validate JSP" to work. It says: "This absolute uri(http://whatever) cannot be resolved in either web.xml or the jar files deployed with this application".
How come when autocomplete works? And yes, I have the jars checked to be included in the web module.

0

Please sign in to leave a comment.