0 Replies Latest reply on Aug 2, 2011 12:25 PM by Raj Tiwari

    RESTEasy JSAPI servlet not available on startup

    Raj Tiwari Newbie


      I am really loving the RESTEasy JS generation. There is one glitch that I am not quite sure how to get around. It appears that the servlet path (rest-js) is only populated with content after I make an initial AJAX request to the JAX-RS application. Until such a request is made, the JS servlet path returns an empty document.


      I have tried setting load on startup in my web.xml but it does not seem to help.




              <servlet-name>RESTEasy JSAPI</servlet-name>





              <servlet-name>RESTEasy JSAPI</servlet-name>





      How can I make the servlet return content immediately without having to fake a request?