title: getContextPath using servlet
body: <p>Context path in jboss-web.xml is mentioned as <code>/Test</code>, but my war file name is <code>Test-0.0.1</code>.
  I need this war file name using <code>HttpServlet</code>. Please tell me the function name.
  i tried <code>getContextPath()</code>, but it returns Test.
  Thanks</p>