> -----Original Message-----
> From: Rick Salsa [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 24, 2003 11:53 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] WW2 ActionContext
> 
> 
> A question about the ActionContext class, when I do the following:
> 
> OgnlValueStack stack = ActionContext.getContext().getValueStack();
> 
> It will never return null, even if an ActionContext has yet 
> to be created. This causes a problem in the BeanTag that I'm 
> trying to port over. If the BeanTag is run in a view as a 
> result, it works. 
> 
> If run on its own in a jsp, it doesn't work because of the 
> problem noted above. The code looks something like this:
> 
> OgnlValueStack stack = ActionContext.getContext().getValueStack();
> 
> if (stack == null) 
>   createActionContext();
> 
> Any ideas, or am I missing something here?
> 
> rick
> 

What does createActionContext() do?


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to