Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DWR Generated Files engine.js/util.js Not Found

 
youssef el jaoujat
Greenhorn
Posts: 1
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

@Localhost all works fine , but once deployed in prod , i have these errors :

  • GmapBean.js not defined in javascript console
  • engine.js, util.js and GmapBean.js repsond with 200 code but when i trie to open any of theme in browser i have 404 error


  • my confgiuration of dwr :

    dwr xml :


    web xml :




    including the generated js files in my jsp:





    Thanks,


     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 65227
    95
    IntelliJ IDE Java jQuery Mac Mac OS X
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    See the JspFaq for details, you should be using server-relative URLs to reference these resources.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic