Struts 1 - struts-taglib.jar is not being found by the web application
Posted
by Yatendra Goel
on Stack Overflow
See other posts from Stack Overflow
or by Yatendra Goel
Published on 2010-03-14T04:53:43Z
Indexed on
2010/03/14
4:55 UTC
Read the original article
Hit count: 675
I am using Struts-1
. I have developed a struts-based web application. I am using struts tags in my JSP pages supplied in struts-taglib.jar
by inserting the following lines in the JSP file:
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %>
Now the application is working fine when I run it on my localsystem but when I deploy it on a server, it shows the following exception:
org.apache.jasper.JasperException: The absolute uri: http://struts.apache.org/tags-html cannot be resolved in either web.xml or the jar files deployed with this application
From the above exception, it seems that the application hasn't found the struts-taglib.jar
file.
But I have put the struts-taglib.jar
in /WEB-INF/lib
directory. Then where is the problem?
© Stack Overflow or respective owner