The context path in jboss-web.xml is referred to as /Test , but my war file name is Test-0.0.1 . I need the name of this war file using the HttpServlet . Please tell me the name of the function. I tried getContextPath() , but it returns Test. Thanks
source share