0

How to make it possible to deploy deploy multiple WARs on Tomcat one of which is ROOT and how to passed the requests to corresponding application.

like:
/ - main app
/appA - app A
/appB - app B

How to make the main app skip urls /appA and /appB ?

Miciurash
  • 5,064
  • 4
  • 16
  • 21

1 Answers1

1

According to the Tomcat documentation, your second question "How to make the main app skip urls /appA and /appB ?" will be solved automatically:

The web application used to process each HTTP request is selected by Catalina based on matching the longest possible prefix of the Request URI against the context path of each defined Context.

The first question is discussed for example here. You can apply one of the solutions listed there according your Tomcat Version, environmet, etc.

Community
  • 1
  • 1
Géza
  • 481
  • 1
  • 3
  • 13