• 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: shtml on WO 5.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shtml on WO 5.3


  • Subject: Re: shtml on WO 5.3
  • From: Art Isbell <email@hidden>
  • Date: Sat, 17 Sep 2005 15:19:25 -1000

On Sep 17, 2005, at 2:06 PM, Miguel Arroz wrote:

I need to include some template HTML code on my components that uses server side includes. When running my app on the develop machine, the includes are not processed. I assume this is due to the fact that the pages are not going trough apache. Instead, the browser is accessing the app directly (http://localhost:12345/ blablabla). Is there a way to make this work on the development machine?

What I do is fire up JavaMonitor if it's not already running and configure an instance of the app I'm developing. JavaMonitor will assign a port to the app instance. If it's 2001, for example, add "- WOPort 2001" to the app's Xcode launch arguments. You may also need to add "-WOAutoOpenInBrowser NO" as another Xcode launch argument to prevent the app from opening in your default Web browser in Direct Connect mode when it's launched. Then build and run or debug the app as usual. You'll then need to enter a normal Web server type URL in your Web browser: "http://localhost/cgi-bin/WebObjects/<your_app_name>".


Aloha,
Art

_______________________________________________
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: shtml on WO 5.3
      • From: Miguel Arroz <email@hidden>
References: 
 >shtml on WO 5.3 (From: Miguel Arroz <email@hidden>)

  • Prev by Date: shtml on WO 5.3
  • Next by Date: Re: shtml on WO 5.3
  • Previous by thread: shtml on WO 5.3
  • Next by thread: Re: shtml on WO 5.3
  • Index(es):
    • Date
    • Thread