aspose file tools*
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
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
Author

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

Irshad Malek
Greenhorn

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

my web.xml have

<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>

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(DefaultErrorHandler.java:50)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:159)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

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
Irshad
[ 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: http://aspose.com/file-tools
 
subject: File "/WEB-INF/struts-html.tld" not found