need help with javascript path when app is deployed
need help with javascript path when app is deployed
- Subject: need help with javascript path when app is deployed
- From: Baiss Eric Magnusson <email@hidden>
- Date: Sat, 23 Jan 2010 16:52:36 -0800
I get "not found JavaScript file:"
http://track-your-finances.com/WebObjects/tyf.woa/Contents/WebServerResources/tyf/jsScripts/ObjSelect_js.txt
If I enter the above into the browser on the server it gets the file, but not from a remote computer.
This the .wod file
js_OnChange: WOJavaScript {
scriptSource = "tyf/jsScripts/ObjSelect_js.txt";
}
This is the <pwd> from Terminal on the Server
cascadewebdesign:jsScripts baiss$ pwd
/Library/WebServer/Documents/tyf/WebObjects/tyf.woa/Contents/WebServerResources/tyf/jsScripts
cascadewebdesign:jsScripts baiss$ ls -l
-rwxr-xr-x 1 baiss admin 2695 Nov 18 17:53 ObjSelect_js.txt
This is the html source from the browser window
<script language="JavaScript" type="text/javascript" src="/WebObjects/tyf.woa/Contents/WebServerResources/tyf/jsScripts/ObjSelect_js.txt"></script>
Thanks for the help,
Baiss _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden