Difference between Application Context and Context Path in context.xml

Answered

In IntelliJ 2019 Ultimate, I have set the Application Context of my war as /ServletHelpMavenWay in Edit configuration of Tomcat and correspondingly I have set the

<Context path="/ServletHelpMavenWay12345"/>

in META-INF/context.xml.

 

What is the difference between the two ? I see that IntelliJ is ignoring my defined context.xml.

0
1 comment

There is no difference, but when deploying from IntelliJ IDEA the configuration in the Deployment tab will have the priority.

0

Please sign in to leave a comment.