[Seasar-user:17928] Re: [Teeda-Session]について

thomas [E-MAIL ADDRESS DELETED]
2009年 7月 3日 (金) 20:48:36 JST


小林さん、

Thanks,

i used this line and got the solution

HttpSession session = SingletonS2Container.
>
> getComponent("session");


Regards,
トマス


2009/7/3 Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>

> 小林 (koichik) です.
>
> Date:    Fri, 3 Jul 2009 14:07:36 +0900
> From:    thomas <[E-MAIL ADDRESS DELETED]>
> To:      [E-MAIL ADDRESS DELETED]
> Subject: [Seasar-user:17922] [Teeda-Session]について
>
> > I want to get the session Attribute in helper Packege.
>
> if Helper is managed by the S2Container
>
> public Map<String, Object> sessionScope;
>
> otherwise
>
> HttpSession session = SingletonS2Container.getComponent("session");
>
>
> --
> <component name="koichik">
>    <property name="fullName">"Koichi Kobayashi"</property>
>    <property name="email">"[E-MAIL ADDRESS DELETED]"</property>
>    <property name="blog">"http://d.hatena.ne.jp/koichik"</property>
> </component>
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20090703/02de9547/attachment.html>


Seasar-user メーリングリストの案内