It is generally recommended to use WicketFilter in lieu of WicketServlet, the
filter can be accessed by Webapplication.getWicketFilter. If you can't move
to WicketFilter with your app, the Servlet spec recommends to  "share
information using the ServletContext class and [to] perform shared business
logic by invoking methods on common non-servlet classes" rather than
accessing Servlets directly.

hth
Michael

swapnil.wadagave wrote:
> 
> 
> Hi i have code of wickets 1.2 the code snippnet is specified below,
> 
> ((WebApplication) Application.get())
>             .getWicketServlet().getServletName()
> 
> I want to migrate this into 1.3.How i can get same thing with 1.3?
> 
> Thanks and Regards,
> swapnil
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/Migrating-code-from-1.2-to-1.3-tp19252101p19253043.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to