Hi,

I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX samples worked. Other samples seems to work normally. Could it be that Websphere doesn't handle baseRelativePath in djConfig the same way than Tomcat does? There is no exceptions in Websphere log.

<script language="JavaScript" type="text/javascript">
    // Dojo configuration
    djConfig = {
        baseRelativePath: "/S2Show/struts/dojo",
        isDebug: false,
        bindEncoding: "UTF-8",
debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
    };
</script>
<script language="JavaScript" type="text/javascript"
        src="/S2Show/struts/dojo/dojo.js"></script>
<script language="JavaScript" type="text/javascript"
        src="/S2Show/struts/simple/dojoRequire.js"></script>
<script language="JavaScript" type="text/javascript"
        src="/S2Show/struts/ajax/dojoRequire.js"></script>
<script language="JavaScript" type="text/javascript"
        src="/S2Show/struts/CommonFunctions.js"></script>

Has anyone else had same problems? Any suggestion for solution?

Regards,

- Tapio



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to