This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
jQuery in Action, 2nd edition
 
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