Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The absolute uri cannot be resolved in either web.xml or the jar files

 
eugine nkwinika
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , im C# developer with little knowledge of Java, but i want setup xplanner on my machine running win7 and im running apache-tomcat-6.0.26 but when i hit the index page i get Exception: [org.apache.jasper.JasperException: The absolute uri: http://struts.apache.org/struts/tags-logic cannot be resolved in either web.xml or the jar files deployed with this application]. please help
 
Ankit Garg
Sheriff
Posts: 9528
32
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you include the struts library jar files into the WEB-INF/lib folder of your application??
 
eugine nkwinika
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getting this app up running is highest priority for me now and surely i have no idea what is struts library jar files and what does it do. but hey, I'm willing to try my luck here, where can i get hold of this struct library file and what next if got it.

please help....
 
Ankit Garg
Sheriff
Posts: 9528
32
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eugine jar files in java can be thought of as dll files of C#. Its the library that you need to run Struts applications. You can download Struts from here. You can download the struts-1.3.10-lib.zip archive. If you download struts-1.3.10-all.zip, then it contains a folder named apps, these are sample Struts applications. You'll need to put Struts jar files into the WEB-INF/lib folder of your web application. I'm not really sure what are the minimum jar files required for Struts 1.x (not used Struts 1.x as its very old). But looking at the sample applications, it looks like you'll have to put these jar files into your WEB-INF/lib folder

antlr-2.7.2.jar
commons-beanutils-1.7.0.jar
commons-chain-1.1.jar
commons-digester-1.8.jar
commons-logging-1.0.4.jar
commons-validator-1.3.1.jar
oro-2.0.8.jar
struts-core-1.3.10.jar
struts-taglib-1.3.10.jar

(The version of these jars may vary)
 
eugine nkwinika
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nice tut. but now one last thing before i nail this, on my index page i have something like this "<%@ taglib uri="http://struts.apache.org/struts/tags-logic" prefix="logic" %>" is this in order or i need to change it.
 
Ankit Garg
Sheriff
Posts: 9528
32
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can see the Struts 1 Tag Reference to see if the uri you are using is correct...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic