loadingJS: WOJavaScript {
scriptSource = myJS;
}
At runtime I get the following HTML code:
(CSS)
<link href="" type="text/css" rel="stylesheet">
(_javascript_)
<script src="" type="text/_javascript_">
In a WebObjects Split installation I just make a copy (or symbolic link) of myApp WebServer resources to MY_WEB_SERVER_ROOT_DIRECTORY/WebObjects/myApp.woa/Contents/
But in Tomcat I was not sure how to do that because on runtime my app was accessible via a URL like this:
tried to find it here
using the port, so it was not matter that I published my WebServerResources on my WebServer because the URL's were relative to the root path of TOMCAT.
Then I found that TOMCAT has the ROOT folder inside the webapps folder and it works like the WebServer's Root Directory, so anything you put there you can access it using URL's like this
So, It is just necessary to create the WebObjects folder inside the TOMCAT's ROOT folder and a folder for each project you deploy on it, and obviously create the Contents/WebServerResources structure inside the project's folder.
It also works for Frameworks, just create the directory Frameworks inside the WebObjects folder and a folder for each Framework's WebServerResourses you want to publish, and finally copy the WebServerResources of the framework to its folder.
Hope this results helpful for some one.
_______________________________