File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
File "/WEB-INF/struts-logic.tld" not found
Joined: Mar 22, 2002
Feb 05, 2006 15:12:00
I got the following exception when I try to runa simple jsp page:
org.apache.jasper.JasperException: File "/WEB-INF/struts-logic.tld" not found
the following is my jsp page:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
taglibs specified in web.xml:
struts-logic.tld is in WEN-INF folder
I double-checked everything many times, still cannot find out what is the
cause of this exception. I also unpacked war file in tomcat/webapps dir, and found struts-logic.tld is packed inside.
Anther thing is war file is never unpacked automatically when
starts running. Is it because of the above exception?
Joined: May 10, 2006
May 18, 2006 08:19:00
I am now facing the same problem.
If you got the soln for this can you please share it with me.
Joined: Dec 16, 2004
May 18, 2006 23:25:00
URI is a logical name given to tag-lib location. In
, URI is used but not the tag-lib location.
In ur JSP, ur trying to access URI - "/WEB-INF/struts-logic.tld", which is not defined in web.xml.
In web.xml URI defined as struts/logic.
Try changing web.xml
or modify ur JSP
<%@ taglib uri="struts/logic" prefix="logic" %>
Either of them would do.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: File "/WEB-INF/struts-logic.tld" not found
"WEB-INF/lib/struts-html.tld" not Found
File not found error
missing struts*.tld files
why my application can't detect struts tld files ?
Do Not Understand "/tags/struts-logic" Not Found
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014