Forums Register Login

REST services and GWT together

+Pie Number of slices to send: Send
I have a GWT app which works fine and presents a GUI i developed with GWT on a static html page. url = /app/LoginPage.html
Now, I want to have some REST services available, I have edited the web.ml as follows

Very basic login REST service which I want to call from the JavaScript running on LoginPage.html

However, nothing is happening at the backend, my Resource never gets created, indeed MainRestletRouter
never gets instantiated.
Any idea what I might be doing wrong. I have seen this in a few plces on the net but no one has ever given a full explanation as to how they fixed it if they did.

I run my app inside eclipse, in development mode on the Jetty server supplied with GWT plugin
Arthur, where are your pants? Check under this tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1587 times.
Similar Threads
help regarding url-pattern in jsf
Deployment Exception
problem in web.xml
NullPointerException in AutoScrollPhaseListener
web.xml
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:23:39.