SQL>
SQL> CREATE OR REPLACE PROCEDURE webProc_with_param_form
2 IS
3 BEGIN
4 htp.p('<HTML>');
5 htp.p('<HEAD>');
6 htp.p('<TITLE>Organization Records</TITLE>');
7 htp.p('</HEAD>');
8 htp.p('<BODY>');
9 htp.p('<H1>Organization Records</H1>');
10 htp.p('<P>Press the <b>Run </b>button.</P>');
11 htp.p('<FORM method="get" action="">');
12 htp.p('<P>Hrc Code
13 <INPUT type="text" name="ip_product_id" maxlength="4" size="4">
14 </P>');
15 htp.p('<P>
16 <INPUT type="submit" value="Run">
17 </P>');
18 htp.p('</FORM>');
19 htp.p('</BODY>');
20 htp.p('</HTML>');
21 end;
22 /
Procedure created.
SQL>
|