File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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
 
Consider Paul's rocket mass heater.
 
subject: DWR unable to include js file