• 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
Re: WOApplet (close to success...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: WOApplet (close to success...)
      • From: Chuck Hill <email@hidden>
References: 
 >WOApplet (close to success...) (From: Erwin <email@hidden>)
 >Re: WOApplet (close to success...) (From: Chuck Hill <email@hidden>)
 >Re: WOApplet (close to success...) (From: Erwin <email@hidden>)
 >Re: WOApplet (close to success...) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOApplet ... why URL is wrong
  • Next by Date: [SOLVED] Re: WOApplet ... why URL is wrong
  • Previous by thread: Re: WOApplet (close to success...)
  • Next by thread: Re: WOApplet (close to success...)
  • Index(es):
    • Date
    • Thread