File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File not found error" Watch "File not found error" New topic
Author

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 -
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: File not found error