Split html example into two pages, adjusted JavaServer to service both pages