Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1839

Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Websphere 6.1

    • Flags:
      Important

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tholopai Tapio Holopainen
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: