Just a guess: Application wicketApplication = Session.get().getApplication();
Cast like this if you need to: MyWicketApplication wicketApplication = (MyWicketApplication) Session.get().getApplication(); -----Original Message----- From: Aaron Dixon [mailto:atdi...@gmail.com] Sent: Tuesday, August 04, 2009 4:02 PM To: users@wicket.apache.org Subject: Re: Accessing Wicket Application from custom servlet That seems to provide a solutino for WicketSession access, but what about access to the Application instance? On Tue, Aug 4, 2009 at 1:51 PM, Igor Vaynberg<igor.vaynb...@gmail.com> wrote: > see WicketSessionFilter > > -igor > > On Tue, Aug 4, 2009 at 11:49 AM, Aaron Dixon<atdi...@gmail.com> wrote: >> I am implementing a servlet external to my Wicket application that >> needs to access my Wicket Application instance itself... >> >> Can anyone recommend a clean way to go about this? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org