Try this:

((ServletWebRequest)RequestCycle.get().getRequest()).getContainerRequest()
Hi,

I need to get the HttpServletRequest  object in My Application class. In the
WebPage we can get from

((HttpServletRequest) ((ServletWebRequest)
getRequest()).getContainerRequest())

but its not working in Application class. Please suggest any ideas.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-get-HttpServletRequest-in-My-Application-class-tp4651189.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


Reply via email to