I'm working on a webapp in IntelliJ.
The webapp uses one tag library that is part of the project (classes in
project, TLD in /WEB-INF/taglib, taglib mapping in web.xml)
and another that is wholly contained in a JAR (classes and TLD in jar,
mapping is implicit according to the JSP spec)
The first one I've given a URI of "/forge/<projectName>" and the other a
URI of "/forge/<libraryName>"
I have an entry in the project's Web options pointing to the directory that
is parent to the relevant WEB-INF directory.
However, both the @taglib directives have the URIs in red, and hovering
produces the tip "Cannot resolve tag library".
Admittedly, I am not compiling into WEB-INF/classes, and the JAR is not in
WEB-INF/lib, for reasons not worth explaining.
However, I tried putting the relevant classes and JARs into the right
places and restarted IntelliJ, but it didn't change a thing.
Any suggestions?
Do other people have tag library importing working?
What directory are you pointing to in the Web options?
Where are your classes + libs?
What URIs are you using?
It's probably relevant that I'm using Servlets 2.3 / JSP 1.2 :
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
Graham Lea
--
Software Engineer
Forge Research Pty Ltd
Suite 116, Bay 9, Locomotive Workshop
Australian Technology Park, Cornwallis Street
Eveleigh NSW 1430 Australia
Phone: +61 2 9209 4152 Fax: +61 2 9209 4172
www.forge.com.au
----------------------------------------------------------------------
This message contains privileged and confidential information intended
only for the use of the addressee named above. If you are not the
intended recipient of this message you must not disseminate, copy or
take any action in reliance on it. If you have received this message
in error please notify the sender immediately. Any views expressed in
this message are those of the individual sender, except where the
sender specifically states them to be the views of another (including
a Body Corporate).
----------------------------------------------------------------------
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list