| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: WPG_DOCLOAD
Tim Arnold wrote:
>
> -- Set the size so the browser knows how much it will be downloading.
> htp.p( 'Content-length: ' || n_length );
> -- The filename will be used by the browser if the users does a "Save as"
> htp.p( 'Content-Disposition: filename="' || s_filename || '"' );
I haven't used it for at least five years, but wow, does that code bring back memories of hardcoding html tags with htp.print statements. I embedded javascript, tags, you name it using Oracle OWS (2.0 or 3.0, I forget which). It must be much easier now.
Regards,
Steve Received on Fri Jul 28 2006 - 15:09:50 CDT
![]() |
![]() |