Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File not found error

 
Shailesh Pillai
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your uri in jsp is wrong. Make it same as in config file.
 
Shailesh Pillai
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic