Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Web Toolkit Question

Re: Web Toolkit Question

From: Christopher Beck <clbeck_at_us.oracle.com>
Date: Wed, 15 Sep 1999 17:41:28 -0400
Message-ID: <VBHgN4CknYVOMeRXN6vA0p=KDtsC@4ax.com>


On Wed, 15 Sep 1999 19:23:59 GMT, Milo_at_Netway.com (Miles O. Remington) wrote:

>I have this HTML form where depending on the options the user selects
>there are times when I want to return a data stream to the user
>instead of HTML. I want that little dialog box to come up in their
>browser that asks them where they want to save the file and what to
>name it. I suspect that I need to change the mime type but how and
>what to? Can I use htp.print to do everything like:
>htp.print('content-type ??/??\n\n');
>htp.print('first line of data');
>htp.print('next line of data');
>etc...
>
>Is that how or do I need to use something else in the toolkit?
>

You should use this.

  owa_util.mime_header( <content-type-here> );

hope this helps.

chris.

>Thanks!
>
>
>"Let us pass over the river, and rest
> Under the shade of the trees."

--
Christopher Beck
Oracle Corporation
clbeck_at_us.oracle.com
Reston, VA.



Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Sep 15 1999 - 16:41:28 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US