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 not found error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File not found error" Watch "File not found error" New topic

File not found error

Shailesh Pillai
Ranch Hand

Joined: Jan 24, 2006
Posts: 78
I am getting an HTTP Status 500 exception saying -
org.apache.jasper.JasperException: File "tags/struts-logic" not found

1. struts-logic.tld is in - D:\jakarta-tomcat-4.1.30\webapps\MyApp1\WEB-INF folder

2. The web.xml declaration is as -

3. in jsp files -
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>

Still i am getting the above error. I am using Struts version 1.2.0
Vikram Virk

Joined: Mar 13, 2006
Posts: 8
Your uri in jsp is wrong. Make it same as in config file.
Shailesh Pillai
Ranch Hand

Joined: Jan 24, 2006
Posts: 78
Sorry it was a typing mistake. The uri of the config file and the jsp files are same.
I hope its not bcoz of struts-legacy.jar file. But this file as i think is necessary for only earlier versions of Struts (1.0, 1.1)
subject: File not found error
Similar Threads
Do Not Understand "/tags/struts-logic" Not Found
why my application can't detect struts tld files ?
Invalid TLD resource path
"WEB-INF/lib/struts-html.tld" not Found
Why: File "/WEB-INF/struts-html.tld" not found.