1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
CREATE USER dev IDENTIFIED BY oracle1;
GRANT connect, resource to dev;
BEGIN
DBMS_EPG.create_dad (
dad_name => 'dev',
path => '/dev/*');
END;
/
BEGIN
DBMS_EPG.set_dad_attribute (
dad_name => 'dev',
attr_name => 'default-page',
attr_value => 'home');
DBMS_EPG.set_dad_attribute (
dad_name => 'dev',
attr_name => 'database-username',
attr_value => 'dev');
END;
/
CREATE OR REPLACE PROCEDURE scott.home IS
BEGIN
HTP.htmlopen;
HTP.headopen;
HTP.title('Mais marche !');
HTP.headclose;
HTP.bodyopen;
HTP.print('Mais euh :''(');
HTP.bodyclose;
HTP.htmlclose;
END home;
/ |
Partager