Re: WOApplet (close to success...)
Re: WOApplet (close to success...)
- Subject: Re: WOApplet (close to success...)
- From: Erwin <email@hidden>
- Date: Sat, 15 Jan 2005 16:00:41 +0100
Le Jan 14, 2005, à 8:02 PM, Chuck Hill a écrit :
PTViewer doc states that it should be placed in the same directory with with the applet/jar files ....
but it seems not to be finding it.....
Because it is not in the Web server's DocumentRoot.
I tried to backward to a simple test (just the WOApplet in the Main component.
my Web server's DocumentRoot is defined as follows (Apache httpd.conf)
DocumentRoot "/Library/WebServer/Documents"
ServerName kermac.local
so in the Documents folder ( Web server's DocumentRoot.) I defined :
/WebObjects
/Java
- ptviewer.class
- ptviewr.jar
- PRDefault.html (empty but must be there)
/pictures
- image.jpg
If I defined the WOApplet as '
static' with the following info :
Code URL : ptviewer.class
Base URL : /WebObjects/Java
parameters :
name : file value: /pictures/image.jpg
then the Applet runs very well; loading the image
the problems arise when going to Dynamic......
Related to the following output :
2- I also got a WODebug output which is not very easy to understand
<WorkerThread1> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri.
file: /Library/WebServer/Documents/cgi-bin/WebObjects/control_bkgd.gif; uri: /cgi-bin/WebObjects/control_bkgd.gif
I was concerned by the 'cgi-bin' ...folder
as the Web server's DocumentRoot is defined as /Library/WebServer/Documents, I don't understand where the 'cgi-bin' is coming from ....
that's why the control_bkgd.gif cannot be found ......
_______________________________________________
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