tushar mahamuni

Greenhorn
+ Follow
since Oct 10, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by tushar mahamuni

sorry for posting wrong error message

the error message is : dwr.util' is null or not an object
13 years ago
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?

13 years ago