Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: mod pl/sql
On Sun, 15 Jun 2003 19:46:38 +0000, Oradba Linux wrote:
> I have oracle 8.1.7 installed on RH8.0 . I am trying to learn Pl/sql
> server Pages . I have oracle http server turned on . I have created
> a psp and used loadpsp to create a stored procedure . when i invoke
> that stored procedure from my web browser , i am able to see the web
> page on my browser except for an image ( jpg) . Looks like the web
> server is looking at the wrong place . I am doing all this for
> learning purposes . I added an Alias /Images/ entry in plsql.conf
> but that does not seem to work . Not sure what needs to set where ?
The below metalink note helped me in getting resolved but not after a loooong time spent in troubleshooting ...
Image not loading in pl/sql application
I have a pl/sql application running on iAS 1.0.2. Everything is fine, except the fact that the images are not loaded.
Theres a web page ( http://cpds2/teste/furp_com.html ) where is the link to http://cpds2/pls/web_teste/furp.login?btn= ( link to launch the application ).
The physical location of html file ( furp_com.html ) and images are:
html: D:\web_teste
images: D:\web_teste\images
Ive configured the following alias in httpd.conf:
Alias /teste/ "D:\web_teste/" Alias /Crypto/ "D:\web_teste/" Alias /images/ "D:\web_teste\images/"
Also, I have a DAD ( named web_teste ) properly configured.
An example of tag in my html is:
<img src ="images/conectar.gif" BORDER="0">
One interesting thing is that the images from furp_com.html are loaded without problems and the images from the other pages ( generated via htp procedures ) have this problem.
What Im doing wrong ? Anyone has a clue ?
TIA,
Andre
DBA - Discover Technology
From: Oracle, Rhoderick Butial 08-Jun-01 19:52 Subject: Re : Image not loading in pl/sql application
Hello,
I believe you are just missing a slash in your coding. It should be
htp.print('<img src ="/images/conectar.gif" BORDER="0">');
Try it out...
Thank you,
Rod
Oracle Technical Support
Received on Mon Jun 16 2003 - 00:29:13 CDT
![]() |
![]() |