Now, let's test our portal as follows:
- Run the project from NetBeans. It will open the portal in the default browser.
- Fill the form and click on the
Submitbutton as shown in the following screenshot:
- Once the form is processed successfully, it will give you a
Data is saved!!popup, as shown in the following screenshot:
- Now, to verify the entry in the database, navigate to Azure Cosmos DB, select the database, and check the entry. If the entry is there, then our portal is working fine. In our case, data is there in DB: