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
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)
I agree. Here's the link:
subject: File not found error
It's not a secret anymore!