mercredi 27 mai 2015

Accessing WAR file from outside

We have static HTML files which are outside of the WAR file. The files are "index.html", "about_us.html", "news.html". Lets say our war file name is "MyWarProject". Right now we launch the tomcat and directly access the WAR file using

localhost:8080/MyWarProject/

After we host it, the lcoalhost part will be replaced by a domain name.

But what we actually need is that user first access the "index.html", after that he click on "SIGN-UP" button to access the WAR file. How can I do this?




Aucun commentaire:

Enregistrer un commentaire