At 10:23 AM -0800 2/22/99, [EMAIL PROTECTED] wrote:
>All:
> I have a static HTML prototype of site. I'm building the dynamic
>webobjects version now. I want to use statci HTML from the prototype as
>placeholders for components I haven't built yet. Is there an easy way to
>pass chunks of static HTML, stored in flat files through WebObjects, and
>on to the browser? The only way I have found to do it is to use WOString
>and write a function to open the contents of the file and read it into a
>NSString.
That's the way one would do it in a perl CGI script by the way.
Reading in a line at a time and printing it. Or some prefer to read the
entire HTML file in and then send the entire contents of the buffer out.
mark
---------------------------------------------------------------------------
Mark F. Murphy, Director Software Development <mailto:[EMAIL PROTECTED]>
Tyrell Software Corp <http://www.tyrell.com>
PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com>
---------------------------------------------------------------------------
Member of Families Against Internet Censorship: rainbow.rmi.net/~fagin/faic