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: WPG_DOCLOAD

Re: WPG_DOCLOAD

From: Steve Howard <stevedhoward_at_gmail.com>
Date: 28 Jul 2006 13:09:50 -0700
Message-ID: <1154117390.802474.235150@i3g2000cwc.googlegroups.com>


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

Original text of this message

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