From: Victor M. <vic...@ze...> - 2012-03-07 11:27:27
|
Hello, Here's my problem: I have an mock application (jsp), providing templates. This application runs on (http://localhost:8081/mock-application). Another application, uses WAT, and uses the first one as a template. The problem concerns the static resources in the template application. This template returns : <link rel="StyleSheet" type="text/css" href="../styles/somestyle.css"> Obviously, this url is not valid when WAT assembles the template and the application. using "fixResources=true" in the driver.properties file, webassembletool transforms the url into : "<link rel="StyleSheet" type="text/css" href="/mock-application/../styles/somestyle.css">" This would work if the "mock-application" and the main application were running on the same server, and the same port, but since the mock-application is running on a tomcat on port 8081, this won't work. I tried a lot of parameters in the driver.properties file, but I can't make it keep the absolute url. I'd like to set this up (for now) without using url rewriting and having to run an Apache server. Do you have an idea ? Thank you for your help, Victor MONTANER |