Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Defining URL for the page

Status
Not open for further replies.

rawatds

Programmer
Jun 3, 2004
30
SG
How can i give the URL for my HTP procedure to dispaly a page .

Like i created a sample HTP code as :
create or replace procedure test IS
BEGIN
htp.htmlopen ;
htp.headopen ;
htp.title('RAWAT Example ') ;
htp.headclose ;
htp.htmlclose ;
end test ;
/

Now i want to display this in a page . Where i have to define the URL for the page in the procedure .

Thanx in advance
Rawat
 
You don't define the URL in the procedure. It will display in the browser from which the procedure is invoked.
 
Thanx Carp for the reply
actually i am new to Web technology
so can u please tell me a small syntax how i will invoked this procedure from the browser.

Thanx in advance
rawat
 
The URL is determined by the web server that interfaces with your database, as well as the DAD you have set up for your interface. For instance, if your web server name is rawats_server and your DAD is rawats_dad, then the call might look something like:

 
Hi carp
I did some changes in the format, now i wrote the code as :

<html>
<head>
<title>Rawat Testing </title>
</head>
<body>
<h1> Rawat </h1>
<p> <a href=" test1 </p>
</body>
</html>

The hyperlink should work in this case as i have set the the URL :
,
according to my Web server and DAD .

THe above URL is working when typing alone , but with my above mentioned HTML code the anchor is not coming in TEST1 which will redirect to me to the page .

In fact the result is coming as :
RAWAT ( Bold)
test1 ( here no anchor is coming )


Please suggest
Thanx in advance
 
Are you sure you don't want the code to look like
Code:
<a href="[URL unfurl="true"]http://dynfmm01.nat.bt.com:60343/pls/pew/pmlogon">>[/URL] test1 </a>
instead of
Code:
<a href="[URL unfurl="true"]http://dynfmm01.nat.bt.com:60343/pls/pew/pmlogon"></a>[/URL] test1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top