kumvjuec
asked on
Helppppp Exception in jsp
hi,
I am getting this error -
JasperExcpetion : Unable to initialize tldlocations cache
What does this mean???
Thanks,
I am getting this error -
JasperExcpetion : Unable to initialize tldlocations cache
What does this mean???
Thanks,
check this out
http://p2p.wrox.com/topic.asp?TOPIC_ID=2289
http://p2p.wrox.com/topic.asp?TOPIC_ID=2289
kumvjuec,
I have move this to the JSP topic where I think you will have a better chance of getting a solution.
COBOLdinosaur
Page Editor, Web Development
I have move this to the JSP topic where I think you will have a better chance of getting a solution.
COBOLdinosaur
Page Editor, Web Development
Have you defined your taglib location correctly in WEB-INF/web.xml?
<taglib>
<taglib-url>/my-taglib</ta glib-url>
<taglib-location>/WEB-INF/ mydefineva r.tld</tag lib-locati on>
</taglib>
<taglib>
<taglib-url>/my-taglib</ta
<taglib-location>/WEB-INF/
</taglib>
If you have, can you post your JSP that causes the error, and the WEB-INF/web.xml file that defines the taglib?
Cheers :-)
Tim
Cheers :-)
Tim
You have problem in
<%@taglib prefix="xx" uri="someUri" %>
it cannot refer to the uri specified.
<%@taglib prefix="xx" uri="someUri" %>
it cannot refer to the uri specified.
ASKER
sompol,
another of my jsp is using the same tags. so declaration is not having problem.
<taglib>
<taglib-uri>/WEB-INF/strut s-bean.tld </taglib-u ri>
<taglib-location>/WEB-INF/ struts-bea n.tld</tag lib-locati on>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut s-html.tld </taglib-u ri>
<taglib-location>/WEB-INF/ struts-htm l.tld</tag lib-locati on>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut s-logic.tl d</taglib- uri>
<taglib-location>/WEB-INF/ struts-log ic.tld</ta glib-locat ion>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut s-nested.t ld</taglib -uri>
<taglib-location>/WEB-INF/ struts-nes ted.tld</t aglib-loca tion>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut s-template .tld</tagl ib-uri>
<taglib-location>/WEB-INF/ struts-tem plate.tld< /taglib-lo cation>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut s-tiles.tl d</taglib- uri>
<taglib-location>/WEB-INF/ struts-til es.tld</ta glib-locat ion>
</taglib>
another of my jsp is using the same tags. so declaration is not having problem.
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
http://www.mmbase.org/design/mailarchive/msg82545.html
It seems you have not included one of your required TLD in web.xml
If not, please post your JSP.
It seems you have not included one of your required TLD in web.xml
If not, please post your JSP.
Could you post the jsp that have a problem?
and please that you have all tld files defined in web.xml in WEB-INF folder.
and please that you have all tld files defined in web.xml in WEB-INF folder.
ASKER
i'm using websphere, and it also defines some jar files in the web.xml
i'm not using them, so can it cause problems.
I am sure that there's no problem with jsp since another of my jsp which is much more complicated and using the same taglibs is working fine. i get this error on different pages whenever i restart the server
i'm not using them, so can it cause problems.
I am sure that there's no problem with jsp since another of my jsp which is much more complicated and using the same taglibs is working fine. i get this error on different pages whenever i restart the server
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i don't know how delete could solve my problem. but anyways, it has :). thnx delete
ASKER
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.JspCompi
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.compiler
org.apache.jasper.compiler