-
Jul 14th, 2009, 01:54 PM
#1
a beginners problem using Spring XT Framework, Maven, and Eclipse
Having trouble getting the springxt.js file to include in my jsp file properly. Working with a Spring project in Eclipse that uses Maven 2 to download dependencies, and therefore have added the
<groupId>org.springmodules</groupId>
<artifactId>spring-modules-xt</artifactId>
<version>0.8a</version>
dependency to the pom. This puts spring-modules-xt-0.8a.jar into Maven Dependencies properly which appears to contain the springxt.js file in js.lib.core
I so far am unable to get the script file to load properly and thus the XT.doAjaxAction remains undefined when attempting to run in the webapp a test similar to the tutorial available here: https://springmodules.dev.java.net/d...l/xt.html#ajax
A war is created for the project and the war is then deployed to a tomcat server. The war itself appears to have the spring-modules-xt-0.8a.jar file in it as expected. Attempting to include the javascript into the test page as follows:
<script language="JavaScript" type="text/javascript" src="jar:../lib/spring-modules-xt-0.8a.jar!/js/lib/core/springxt.js"></script> does not appear successful. The root of the problem I suppose is in the src path but am having trouble finding actual documentation on how to use the src path correctly in regards to jar files.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules