Class GetParallelDeploymentVersion

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.aoapps.servlet.tomcat.GetParallelDeploymentVersion
All Implemented Interfaces:
Servlet, ServletConfig, Serializable

public class GetParallelDeploymentVersion extends HttpServlet
Gets the Tomcat parallel deployment version based on the path the application is deployed to. Uses ServletContext.getRealPath("/"), then takes the version as the final part of the directory name if contains "##". This is specific to Tomcat installations, and should not be assumed to apply generally.
See Also:
  • Constructor Details

    • GetParallelDeploymentVersion

      public GetParallelDeploymentVersion()
  • Method Details