This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes DWR unable to include js file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DWR unable to include js file" Watch "DWR unable to include js file" New topic
Author

DWR unable to include js file

sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
Hi All,

I have followed the example of demo http://directwebremoting.org/dwr-demo/simple/text.html and I am able to see it is working fine when hitting the url localhost:8080/DWRTest/dwr but when i tried from my jsp page localhost:8080/DWRTest/index.jsp the <script type='text/javascript' src='/DWRTest/dwr/interface/Demo.js'></script> is not including. Could some let me know how to resolve this.

This is my jsp file and Demo.js file is directly under DWRTest



Please help
 
 
subject: DWR unable to include js file
 
Similar Threads
DWR error
DWR Undefined
Google Map Mashup in JSF
a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework
Not able to hide a sentence using jquery