• 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(2): SSI within main.html
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): SSI within main.html


  • Subject: Re(2): SSI within main.html
  • From: Chris Whatley <email@hidden>
  • Date: Wed, 21 Jan 2004 09:56:27 -0500

On Sun, Jan 18, 2004, Chuck Hill wrote:

Yes. You can include HTML generated by WO into static pages (direct
actions are easiest). But including static HTML files into the result of a
cgi call is not supported by Apache.

Chuck,

Can you point to an example of how to include the HTML generated by WO
into static pages served on Apache. Our site is comprised of hundreds of
ssi includes, and I would like to use WO to generate some dynamic tables
to be included in those pages--course schedules and such. I really don't
want to generate the whole page in WO if I can include just the course
schedule table from WO.

E.g.:

   <!--#include virtual="/cgi-bin/WebObjects/Foo.woa/wa/doSomething"-->

I haven't done this since WO 4.X, but under that version, mod_include would pass the request in to the app with a mangled URI, so we had to write a direct action request handler that demangled the URL before processing the request. Maybe 5.X and a more recent apache combo won't have the same issue.

Chris Whatley
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Re(2): SSI within main.html
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: NullPointerException only after first call to batchFetchRelationship
  • Next by Date: RE: Query result times in WO and mysql
  • Previous by thread: Re: KVC pitfall (was: validation)
  • Next by thread: Re: Re(2): SSI within main.html
  • Index(es):
    • Date
    • Thread