aspose file tools*
The moose likes Struts and the fly likes The absolute uri cannot be resolved in either web.xml or the jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "The absolute uri cannot be resolved in either web.xml or the jar files" Watch "The absolute uri cannot be resolved in either web.xml or the jar files" New topic
Author

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

eugine nkwinika
Greenhorn

Joined: Jul 06, 2010
Posts: 3
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

Joined: Aug 03, 2008
Posts: 9293
    
  17

Did you include the struts library jar files into the WEB-INF/lib folder of your application??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
eugine nkwinika
Greenhorn

Joined: Jul 06, 2010
Posts: 3
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

Joined: Aug 03, 2008
Posts: 9293
    
  17

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

Joined: Jul 06, 2010
Posts: 3
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

Joined: Aug 03, 2008
Posts: 9293
    
  17

You can see the Struts 1 Tag Reference to see if the uri you are using is correct...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The absolute uri cannot be resolved in either web.xml or the jar files