IDEA 4.5 GOT A TAG LIBRARY PROBLEM ..
i got a error message that ..
cannot resolve tag .. error ..
both struts tag library and JSTL ..
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
In IDEA 4.0 .. i used both .. with no error !!
what's my problem?? something changes in IDEA 4.5 configurations??
请先登录再写评论。
Try recreating your project. It sounds like your web resource root is
not defined correctly.
Seongan Kim wrote:
>i got a error message that ..
>
>cannot resolve tag .. error ..
>
>both struts tag library and JSTL ..
>
><%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
><%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
><%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
>
>
>In IDEA 4.0 .. i used both .. with no error !!
>
>what's my problem?? something changes in IDEA 4.5 configurations??
>
--
Norris Shelton
Sun Certified Java Programmer
I am also having the same problem, but I am sure that I configured a mapping for /WEB-INF to a folder in my project. When I first did it, the taglibs worked great, but then the stopped, and I cannot get them back. I made no changed to the project configuration: only closed and restarted IDEA.
Seems a little weird. Only thing out of the ordinary that I can mention about this project is that it has and EJB module and a Web module. The web module is dependent on the EJB module.
I had this problem and I fixed it by changing the DTD reference in my .tld file.
I had been referenceing a local DTD and then I changed it to suns dtd : http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
Hope that helps.