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

Koichi Kobayashi [E-MAIL ADDRESS DELETED]
2009年 7月 3日 (金) 19:00:41 JST


小林 (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 メーリングリストの案内