title: How to force relative pathing with Struts 2.1 and Dojo?
body: <p>I upgraded from Struts 2.0.6 to 2.1.6 and converted all my Ajax themes to plugins.  Everything works except the pathing has changed from relative to absolute.  For example, here is the rendered HTML before upgrade:</p>
  
  <pre><code>&lt;script type="text/javascript" src="../struts/simple/dojoRequire.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And here it is after upgrade:</p>
  
  <pre><code>&lt;script language="JavaScript" type="text/javascript" src="/myApp/struts/ajax/dojoRequire.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Somehow the absolute "/myApp" is getting used instead of the relative ".." path.</p>
  
  <p>Does anyone know how to force it to use the old-way of pathing?</p>
  
  <p>Thanks for any tips.</p>