On 12/10/01 3:05 AM, "Mooslechner Martin" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> in some of my torque generated classes I need to read some HttpSession
> attributes.
>
> So I had in mind something like:
>
> TurbineRunData.getRunData().getSession().getAttribute("whatever");
>
> However, unlike the other services, there is no facade class
> TurbineRunData which static methods I could use.
> Why?
The RunDataService is not meant to be used directly.
> And how can I access the current HttpSession object then?
Via the rundata object that is available during request processing. So in
your screen, action, or request scoped pull tool the rundata object is
there. And you can nab the session info with the rundata.getSession()
method.
>
> Thanks for your hints.
>
> Martin,
>
> [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>