On Oct 22, 2009, at 4:29 PM, Baiss Eric Magnusson wrote:

String fileNameAndPath = "/helpFiles/LoginHelp.html";

File theFile = new File( fileNameAndPath );
try {
        FileReader theReader = new FileReader( theFile );

fails with FileNotFoundException."

Yes.

Can that code work both deployed on the Server where the help files are inside the served site and on a development machine where they are in the WebServerResources folder of the Eclipse project?

No.  See WOResourceManager.


Chuck


From: Chuck Hill <[email protected]>

Looks like you have a CSS reference like "tyf_base.css" instead of
"/tyf_base.css" or something.

Yes, thanks much, got a lot more of the site looking right, lots of old code that somehow worked.
LWD?
That ubiquitous /Library/WebServer/Documents/.


what is the exact path that <tyf_base.css> resolves to when on the
development computer?

Wonder?  Not Wonder?  Totally different cases.

Stupid is, as stupid does.

----
Baiss Eric Magnusson
http://www.CascadeWebDesign.com




--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to