multiple War files with one webapps

Posted on

I have two war deployment testA.war and testB.war. I deploy them on JBoss Enterprise Application Platform (EAP 6.3).

  • In "http://localhost:8080/testA/DemoServlet" get request.getContextPath()=

  • In "http://localhost:8080/testB/DemoServlet" get request.getContextPath()=/DemoServlet

Why is it different?

Responses