• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
need help with javascript path when app is deployed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: need help with javascript path when app is deployed
      • From: Gennady Kushnir <email@hidden>
    • Re: need help with javascript path when app is deployed
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: webobjects.mdimension.com down?
  • Next by Date: Re: need help with javascript path when app is deployed
  • Previous by thread: Re: webobjects.mdimension.com down?
  • Next by thread: Re: need help with javascript path when app is deployed
  • Index(es):
    • Date
    • Thread