That cast is safe as long as you are using Wicket for a web application. Which 99.99% of people do.
Eelco On 6/14/06, Gianugo Rabellino <[EMAIL PROTECTED]> wrote: > > On Jun 14, 2006, at 1:51 PM, Alexander Lohse wrote: > > > Hi, > > > > how do I get access to the servername and serverport, like in > > servletrequest, through wicket? > > HttpServletRequest request = ((WebRequest) getRequest()) > .getHttpServletRequest(); > > Don't know if that's completely safe, though, that cast somewhat > scares me... > > -- > Gianugo Rabellino > > > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user