Re: [Tomcat] - Resources referenced in CSS not displayed [Solved]

2020-05-14 Thread Dev WO via Webobjects-dev
Thanks a lot Pierre, That did the trick. I added for the ssd task to copy the resources from the frameworks And now everything is working as expected:) Thanks and have a nice d

RE: [Tomcat] - Resources referenced in CSS not displayed

2020-05-14 Thread GILQUIN Pierre via Webobjects-dev
If I am correct, you should be sure to have this in web.xml : WOAppMode Deployment In build.xml : By the way, you need to copy the WebResources for framework as well .. Pierre De : Dev WO [mailto:webobje...@anazys.com] Envoyé : jeudi 14 mai 2020 10:21 À : GILQUIN Pierre Cc : W

Re: [Tomcat] - Resources referenced in CSS not displayed

2020-05-14 Thread Dev WO via Webobjects-dev
Thanks Pierre, Just tried it, the files are now also in the “static” tree, but the application still generate the url like http://localhost:8081/CloudManager/WebObjects/CloudManager.woa/wr/wodata=/usr/local/apache-tomcat-9.0.29/webapps/CloudManager/WEB-INF/CloudManager.woa/Contents/WebServerResou

RE: [Tomcat] - Resources referenced in CSS not displayed

2020-05-14 Thread GILQUIN Pierre via Webobjects-dev
Hi Xavier, To fully deploy and serve static files from Tomcat, I do the following things : in Application start: setApplicationBaseURL("/MyApp/static/"); setFrameworksBaseURL("/MyApp/static/Frameworks/"); in build.xml for ssdd task:

[Tomcat] - Resources referenced in CSS not displayed

2020-05-14 Thread Dev WO via Webobjects-dev
Hi list, I’m struggling with something Tomcat related: My application’s CSS is working except for referenced items like a background image or a font. What I have so far: -The images and font are present inside the same folder, everything is correctly deployed under Tomcat and all files are there