Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Web Toolkit Question
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.
![]() |
![]() |