lundi 23 janvier 2017

Hosting multiple landing pages on tomcat/spring server

I am looking for a design to host multiple landing pages (or static web pages) in a tomcat/spring container. Each landing page will have the below structure:

landingpage1 
 ->index.html
 ->css
    -> main-lp1.css
 ->js
    -> main-lp1.js
 ->images
    -> lp1.png

landingpage2
 ->index.html
 ->css
    -> main-lp2.css
 ->js
    -> main-lp2.js
 ->images
    -> lp2.png

Each of the pages would be independent of each other. I would also like to track access to these pages through the URL supplied to the end user. When the server (tomcat/spring) receives a request, it records the details of the request and serves the respective page.

Can you pls suggest an approach to achieve this?




Aucun commentaire:

Enregistrer un commentaire