Jon,

Thanks for getting back to me so quickly.   I am actually trying to access
Spring's ApplicationContext so I can store it in my application class.  The
method I'm using is like this:

WebApplicationContext ctx =
        WebApplicationContextUtils.getRequiredWebApplicationContext(
                this.getServletContext());
I guess I will submit a bug, unless you know a better way of going about
this.  I did see a spring example that Juergen did, but I was not very
excited about the implementation.  Anyway, don't know how familiar you are
with Spring, but I hope you can help.  Thanks.

Kevin

----- Original Message ----- From: "Jonathan Locke" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, January 08, 2005 5:58 PM
Subject: Re: [Wicket-user] Servlet Context




you are supposed to be able to get access to all this stuff. if you can't you should file a bug and we'll fix it.
but out of curiosity, why do you need access to this? (it could be that we need to add some feature that solves your problem in another way)


   jon

Kevin Burke wrote:

Is there any way to get the Servlet Context object in a WebApplication? I have tried using the getServletContext() method in my application class (which extends WebApplication) which returns null. I also tried getting the Servlet Config with getServletConfig() which also returns null. Is there a reason for this happening? Thanks.
Kevin


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user





------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to