File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File "/WEB-INF/struts-html.tld" not found" Watch "File "/WEB-INF/struts-html.tld" not found" New topic

File "/WEB-INF/struts-html.tld" not found

Irshad Malek

Joined: Aug 04, 2005
Posts: 25
Hi All,

my web.xml have


and in my jsp

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>

when i m trying to access my jsp then it is giving following error:

org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(
at org.apache.jasper.compiler.ErrorDispatcher.jspError(
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(
at org.apache.jasper.compiler.Parser.parseTaglibDirective(
at org.apache.jasper.compiler.Parser.parseDirective(
at org.apache.jasper.compiler.Parser.parseElements(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.ParserController.doParse(
at org.apache.jasper.compiler.ParserController.parse(
at org.apache.jasper.compiler.Compiler.generateJava(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.JspCompilationContext.compile(
at org.apache.jasper.servlet.JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(

I have alreadey seen related articles on this site, but it couldnt help me

is there any dtd problem, i dont have idea about dtd, what we are specifying in web.xml in doctype

With Regards
[ April 18, 2006: Message edited by: IRshAd M Malek ]
Oscar Gonzalez
Ranch Hand

Joined: Mar 28, 2006
Posts: 63
Can you please put the location of the struts-html.tld file, is inside the WEB-INF folder?
I agree. Here's the link:
subject: File "/WEB-INF/struts-html.tld" not found
It's not a secret anymore!