title: How to get ContextPath in struts2 action?
body: <p>I am using struts2 in my project. Have to generate image in my action of JSP and store it in  war file path. For this i have to get the Contextpath in Struts2. So how to get the War file path to store image/file in specified folder under WAR file?</p>
  
  <p>Can anyone help me to find the Contextpath in struts2. Thanks in Advance.</p>