Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Web Server Help !!!
--------------5BF41C8BADE6C9DA75A42BC3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
Fred Hirschfeld wrote:
> Haris Kusumo wrote:
>
> > Hi,
> >
> > Can you tell me how to pass parameter containing oracle wild card,
> > please.
> > i.e.
> >
> http://arizona/hrs/owa/search.product?ProductName=%&ProductType=Sport
>
> >
> >
> > When I print the value of ProductName it display some strange
> > character
> > like @ or e with single '.
> >
> > the procedure that I use something like this
> > procedure product (ProductName in varchar2, ProductType in
varchar2)
> > is
> > begin
> > htp.p (ProductName);
> > end;
> >
> > I appreciated if you could e-mail me the reply to
> > hkusumo_at_socs.uts.edu.au
> >
> > Thanks in advance
> > - Haris -
>
> I think you will find that the % in the URL is used as a special
> character and you must find the appropriate encoding for it. %#xx;
> where xx is the ascii code value for the percent sign.
>
> Fred
use %25.
bye
Suresh Yarlagadda
--------------5BF41C8BADE6C9DA75A42BC3 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
<HTML><BODY>
Fred Hirschfeld wrote:
<BLOCKQUOTE TYPE=CITE>Haris Kusumo wrote: <BR> <BR><I>> Hi,</I> <BR><I>></I> <BR><I>> Can you tell me how to pass parameter containing oracle wild card,</I> <BR><I>> please.</I> <BR><I>> i.e.</I> <BR><I>> http://arizona/hrs/owa/search.product?ProductName=%&ProductType=Sport</I> <BR><I>></I> <BR><I>></I> <BR><I>> When I print the value of ProductName it display some strange</I> <BR><I>> character</I> <BR><I>> like @ or e with single '.</I> <BR><I>></I> <BR><I>> the procedure that I use something like this</I> <BR><I>> procedure product (ProductName in varchar2, ProductType in varchar2)</I> <BR><I>> is</I> <BR><I>> begin</I> <BR><I>> htp.p (ProductName);</I> <BR><I>> end;</I> <BR><I>></I> <BR><I>> I appreciated if you could e-mail me the reply to</I> <BR><I>> hkusumo_at_socs.uts.edu.au</I> <BR><I>></I> <BR><I>> Thanks in advance</I> <BR><I>> - Haris -</I> <BR> <BR> I think you will find that the % in the URL is used as a special <BR>character and you must find the appropriate encoding for it. %#xx; <BR>where xx is the ascii code value for the percent sign. <BR> <BR> Fred </BLOCKQUOTE>
<BR> <BR> <BR>bye <BR>Suresh Yarlagadda
</BODY>
</HTML>
--------------5BF41C8BADE6C9DA75A42BC3-- Received on Tue Apr 29 1997 - 00:00:00 CDT