Question: how to change the default baseRelativePath?

using struts 2.0.9 and the xhtml template, the <s:head/> tag insert the
following content in the page,
where baseRelativePath: "/p/struts/dojo", while I want it to be
"/p/js/dojo", so how can I change that?
or I have to follow its requirement and put all dojo stuff in to the
/p/struts directory? Thanks!


<link rel="stylesheet" href="/audit/struts/xhtml/styles.css"
> type="text/css"/>
> <script type="text/javascript">
>     // Dojo configuration
>     djConfig = {
>         baseRelativePath: "/p/struts/dojo",
>         isDebug: false,
>         bindEncoding: "UTF-8",
>         debugAtAllCosts: true // not needed, but allows the Venkman
> debugger to work with the includes
>     };
> </script>
>
> <script type="text/javascript"
>         src="/p/struts/dojo/dojo.js"></script>
> <script type="text/javascript"
>         src="/p/struts/simple/dojoRequire.js"></script>

Reply via email to