title: struts.convention.result.path is not working in Struts2
body: <p>My current project structure is as follows</p>
  
  <pre><code>WebContent
     WEB-INF
     View
       TestPage.jsp
       other JSP pages...
  </code></pre>
  
  <p>My assignment is to put all JSP pages inside folder WEB-INF and do all relative changes in the project. </p>
  
  <pre><code>WebContent
     WEB-INF
        View
          TestPage.jsp
          other JSP pages...
  </code></pre>
  
  <p>So I have to update all result tag in struts.xml</p>
  
  <pre><code>&lt;result name="success"&gt;/View/TestPage.jsp&lt;/result&gt;
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;result name="success"&gt;/WEB_INF/View/TestPage.jsp&lt;/result&gt;
  </code></pre>
  
  <p>After search on web I found a plugin - struts convention plugin to achieve this, But it follows its Naming convention.</p>
  
  <p>Can I override Struts convention plugin configuration (that will not follow its naming convention)?I have tried too, but it is not reflecting. My <code>struts.xml</code> is </p>
  
  <pre><code>&lt;struts&gt;
      &lt;constant name="struts.devMoade" value="true" /&gt;
      &lt;constant name="struts.convention.result.path" value="/WEB-INF/View/" /&gt;
  
      &lt;package name="test" extends="struts-default" namespace="/"&gt;
          &lt;action name="hello1" class="testAction.Hello1Action"&gt;
              &lt;result name="success"&gt;/TestPage.jsp&lt;/result&gt;
          &lt;/action&gt;
      &lt;/package&gt;
  &lt;/struts&gt;
  </code></pre>
  
  <p>When I run </p>
  
  <pre><code>localhost:8080/project-name/hello1
  </code></pre>
  
  <p>It displays error 404.But if I change result in struts.xml as </p>
  
  <pre><code>&lt;result name="success"&gt;/WEB-INF/View/TestPage.jsp&lt;/result&gt;
  </code></pre>
  
  <p>It works fine.</p>
  
  <p>I don't wanna do changes in all result tags.How can I achieve this by doing changes at one place?</p>