I am trying to deploy a new version of a Java application (JSP/Servlet) deployed over tomcat. This newer version is in Beta as of now and hence, I want to give users choice to switch to the older version which is more stable.
What is the best way to handle it?
You can deploy your wars on two separate paths, but then configure Tomcat to redirect to one of them depending on user. You probably can use a cookie for that.