Create a "WEB" project in NetBeans to host a web application. As a first step, insert a "home" web page with links to other html pages (2+) in the same application.
By using Servlets, enhance your application by inserting a link in the home page that would take to one of the other pages, chosen randomly among the available ones.
Insert yet another link in the home page that takes to a page chosen randomly, with the additional requirement that, for each client, the random choice of the page has to exclude the last page displayed through such a link.