Hi, guys:
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
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
............
the following is my jsp page:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<logic:redirect page="/do/goToInitialPage"/>
taglibs specified in web.xml:
......
<taglib>
<taglib-uri>struts/bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts/html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>struts/logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
.........
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
tomcat starts running. Is it because of the above exception?
regards,