Hi Guys, First let me describe my setup,
I run a Wicket Application (instanciated as WicketFilter) which is mapped to /* and a ServletContainer which is mapped to /api/* in the same web application. In my REST service handled by Jersey, I can retrieve the wicket session by injecting the HttpServlet request like that; @Context private HttpServletRequest servletRequest; So like that I can retrieve some shared data between the wicket application and the Jersey REST services. Now my issue is the following, in my REST services, I'm calling some legacy code that do call like that: RequestCycle.get().someMethod() And RequestCycle.get() always return null so it's ending with a null pointer exception, Is there any to either set myself the RequestCycle object or some hack-alike in order to be able to use this legacy code ? Thanks you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RequestCycle-and-Jersey-Jax-rs-REST-application-tp4677786.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org