I tried copying all my CSS and pasting it into the validator and got
no errors.
On Sep 1, 2008, at 11:47 AM, Ramsey Gurley wrote:
You may want to make sure your CSS validates
http://jigsaw.w3.org/css-validator/
From Mike Schrag's post:
Yeah, sorry, I forgot to mention I tried that too. That does seem
to be the proper syntax,
background-image: url(../image.gif);
However, it does not fix the problem.
>So what does Activity view show for this exactly? What is the exact
URL of the CSS file and what is the exact URL of the requested image
file? Until you get an activity view entry >appearing, your CSS is
invalid.
>
>ms
I changed the path to
background-image: url(Contents/WebServerResources/Image.gif);
The Safari Activity view now does refer to the background image, as
does the Eclipse Console and I am getting an exception (leaving the
path at ../Image.gif resulted in the error with the path ...WebObjects/
Image.gif; as expected):
[2008-9-1 14:15:31 EDT] <WorkerThread0>
<com.webobjects.appserver._private.WOStaticResourceRequestHandler>
Unable to get contents of file for uri. file: /Library/WebServer/
Documents/cgi-bin/WebObjects/MyApp.woa/Contents/WebServerResources/
Image.gif; uri: /cgi-bin/WebObjects/MyApp.woa/Contents/
WebServerResources/Brickz.gif
[2008-9-1 14:15:31 EDT] <WorkerThread0>
java.io.FileNotFoundException: /Library/WebServer/Documents/cgi-bin/
WebObjects/MyApp.woa/Contents/WebServerResources/Image.gif (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
com
.webobjects
.appserver
._private
.WOStaticResourceRequestHandler
.handleRequest(WOStaticResourceRequestHandler.java:86)
at
com
.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1687)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
226)
at java.lang.Thread.run(Thread.java:613)
_______________________________________________
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]