You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alex Siman <al...@gmail.com> on 2009/10/13 15:57:32 UTC
Why is PageContext null?
I do try to get PageContext inside action in a such way:
ServletActionContext.getPageContext();
and it is null. Why?
--
View this message in context: http://www.nabble.com/Why-is-PageContext-null--tp25873385p25873385.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Why is PageContext null?
Posted by Alex Siman <al...@gmail.com>.
OK, let it be so.
Musachy Barroso wrote:
>
> that should be available inside tags only, not actions..I think.
>
> On Tue, Oct 13, 2009 at 6:57 AM, Alex Siman <al...@gmail.com>
> wrote:
>>
>> I do try to get PageContext inside action in a such way:
>>
>> ServletActionContext.getPageContext();
>>
>> and it is null. Why?
>> --
>> View this message in context:
>> http://www.nabble.com/Why-is-PageContext-null--tp25873385p25873385.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Why-is-PageContext-null--tp25873385p25875240.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Why is PageContext null?
Posted by Musachy Barroso <mu...@gmail.com>.
that should be available inside tags only, not actions..I think.
On Tue, Oct 13, 2009 at 6:57 AM, Alex Siman <al...@gmail.com> wrote:
>
> I do try to get PageContext inside action in a such way:
>
> ServletActionContext.getPageContext();
>
> and it is null. Why?
> --
> View this message in context: http://www.nabble.com/Why-is-PageContext-null--tp25873385p25873385.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org