Re: html pages in pl/sql
Date: 1997/10/25
Message-ID: <34512D55.72C85329_at_geocities.com>#1/1
Bankeroglu escribió:
> Hi,
>
> I am trying to get the following page in the browser. Where should I
> keep the file and what should be my setup. I am using an Oracle Web
> Server 1.0 and the file is currently under a directory that is
> registered under Listener's virtual file system as a 'script enabled'
> directory. I get a message saying the URL does not exist.
> A regular pure html files can be rendered through the browser but I
> guess some special setup must be done for the pl/sql files.
>
> htp.p ("<center>");
> htp.img ( "logo.gif", NULL,NULL,NULL, "border=0" );
> htp.p("</center>");
> htp.p(1,"HTML Example", NULL,NULL,NULL);
> htp.p("This text appears in the normal font.");
> htp.p("Line breaks are ignored, unless we");
> htp.p("are within <b>pre</b> or <b>code</b> tags.");
>
> Thanks,
> Aysen.
I think your problem may be
htp.img ("logo.gif", NULL,NULL,NULL, "border=0" );
you must provide a full path for the gif
i don't know if exists in OWS 1.0 but you can try with
htp.img ( owa_util.owa_service_path||"logo.gif", NULL,NULL,NULL, "border=0" );
Hope it works
Jose Luis Perez Garcia || jlpg_at_geocities.com
|| perezjl_at_mx2.redestb.es
http://www.geocities.com/SiliconValley/Pines/4148/ http://www.redestb.es/personal/perezjl/
____ __ ____ ___ | Enginyer Tecnic (_ _)( ) ( _ \ / __) | en informatica .-_)( )(__ )___/( (_-. | de Sistemes \____) (____)(__) \___/ | F.I.B ===================================================Received on Sat Oct 25 1997 - 00:00:00 CEST