Hello Friends,
I have successfully integrated Spring mvc 3 with DWR 3. I can access beans' exposed method by
http://localhost:8080/myweb-application/dwr/test/mybean
Now I am trying to use the DWR functions in my application's Jspx screen. If I try to use any of the dwr util/engine funtions I get a javascript error as 'java.util is null or not an object'.
The DWR integration with the application is fine and all dwr.util functions work in jsp page as well (I tried with jsp page just to test if there is any issue with the configuration).
I have also added following scripts in my JSPX page
<script type="text/javascript" src='/my_web_aplication/dwr/interface/MyBean.js'></script>
<script type="text/javascript" src='/my_web_aplication/dwr/engine.js'></script>
<script type="text/javascript" src='/my_web_aplication/dwr/util.js'></script>
Is there any different way to access dwr functions in JSPX? Please let me know if I am missing anything?