I can attest to this. I was doing Hibernate initialization stuff in a GenericServlet's 
init method and trying to store the Hibernate Session and SessionFactory instances in 
my ActionContext.getContext().getApplication() but had problems because it kept on 
returning NULL.

I never resolved it, instead choosing to put it in my ServletContext.

> Don't access the ActionContext before execute() (or whatever method)... It may not 
> be set up yet. 
> 



Ciao!

Wayland Chan
email: wchanATtrekspaceDOTcom

----------------------------------------------------------
Get your free email account from http://www.trekspace.com
          Your Internet Virtual Desktop!


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to