undata
asked on
JSP - TomCat Cannot find Struts tag libaries
I am setting up a small J2EE application. The database is already working. Tested JSP presenting data from Database using Tomcat. The problem now I am converting the same webapp to Struts.
The JSP blows up because it cannot locate the struts tag libraries:
org.apache.jasper.JasperEx ception: /login.jsp(28,4) Unable to load class errors
Commenting OUT the following entry allows the JSP to compile and display:
<%@ taglib uri="/WEB-INF/struts-html. tld" prefix="html" %>
I copied the directory structure TomCat has, at the level they have Examples, I created a directory structure called "Employees". In the Employees/WEB-INF I have a web.xml.
I have the taglib defined in the web.xml :
<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>
Anybody know Struts?
The JSP blows up because it cannot locate the struts tag libraries:
org.apache.jasper.JasperEx
Commenting OUT the following entry allows the JSP to compile and display:
<%@ taglib uri="/WEB-INF/struts-html.
I copied the directory structure TomCat has, at the level they have Examples, I created a directory structure called "Employees". In the Employees/WEB-INF I have a web.xml.
I have the taglib defined in the web.xml :
<taglib>
<taglib-uri>/WEB-INF/strut
<taglib-location>/WEB-INF/
</taglib>
Anybody know Struts?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
oh, I mixed jstl with struts. standard.jar is for jstl. So yeh, struts.jar is enough. thanks for your points and my pleasure to help :)
ASKER