Link to home
Start Free TrialLog in
Avatar of anotherfn

asked on

DWR messaging issue

We are working on an HMTL5 project, and are connecting it to Java servlets on the back end. To connect the UI to the server code, we are using DWR.  We have set up our xml files for this, and stored them in the WEB-INF folder, and have the dwr.jar file in the WEB-INF/lib folder, as well as the commons-loggin.jar file.  This is our web.xml:

      <display-name>DWR Servlet</display-name>


and this is our dwr.xml:

      "-//GetAhead Limited//DTD Direct Wrb Remoting 3.0//EN"
            <create creator ="new" javascript="ClassFile">
                  <param name = "class" value = "our.Folder.Path.ClassFile"/>

and this is how we are calling it in our html code:

<script type="text/javascript" src = "jquery-1.7.2.js"></script>
<script>var pathToDwrServlet = "";</script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

Server._path = '';
                        //do our code here

The code we have set to run does not function, so it doesn't seem as though the front end is connecting to the backend, what can we change to make it work?
Avatar of girionis
Flag of Greece image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial