• 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 ... why URL is wrong
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOApplet ... why URL is wrong


  • Subject: Re: WOApplet ... why URL is wrong
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 14 Jan 2005 11:04:10 -0800


On Jan 14, 2005, at 10:44 AM, Erwin wrote:

My applet is loading but not displaying my image

1- one of the parameters is 'file' which is the path where the image shoudl ba taken for loading..
is it also related to the codebase path (/WebObjects/java) or to somewhere else ???


I think we've covered that enough now.  ;-)

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


Someplace in the HTML you have
<img src="control_bkgd.gif">
Should be something like
<img src="/control_bkgd.gif">
Relative paths don't work with dynamic web apps


there is no 'cgi-bin' folder in '/Library/WebServer/Documents/' !! where this uri is coming from ?

Your app.

Chuck


I am totally stucked and lost with these different locations.... is there any way to test an Applet in XCode development mode.... ?
or should I install this TestApp before testing it ?


or better, is there anyone with a small Applet test project I could look over ?

thanks


Erwin


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • [SOLVED] Re: WOApplet ... why URL is wrong
      • From: Erwin <email@hidden>
    • Re: WOApplet ... why URL is wrong
      • From: MacFirst <email@hidden>
References: 
 >WOApplet ... why URL is wrong (From: Erwin <email@hidden>)

  • Prev by Date: Re: WOApplet (close to success...)
  • Next by Date: Re: I don't want EOSharedEditingContext !!
  • Previous by thread: WOApplet ... why URL is wrong
  • Next by thread: Re: WOApplet ... why URL is wrong
  • Index(es):
    • Date
    • Thread