Configure the default page
When the DAD is created, it is possible to configure it with the set_dad_attribute procedure. In this example, we will specify the default page for the DAD.
BEGIN
DBMS_EPG.set_dad_attribute ('olvoyage', 'default-page', 'mon_package.home');
END;
/
'olvoyage' is the name of the DAD on which we'll add a new attribute of 'default-page' type.
We'll assign a value with the 'my_package.home' format which is the procedure called as the start page. This page is the result of the home procedure (from the my_package package) that you want to display as the home page.
To access the web application, type the following address in your web browser:
http://127.0.0.1:8080/olvoyage/


