<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-487124160501087596.post232497679424115041..comments</id><updated>2010-01-07T11:25:16.639-07:00</updated><category term='idea'/><category term='reflection'/><category term='tests'/><category term='groovy'/><category term='seam'/><category term='spring'/><category term='security'/><category term='orm'/><category term='annotations'/><category term='maven'/><category term='cloud'/><category term='struts 2'/><category term='conferences'/><title type='text'>Comments on Java Journeyman: Session Value Retrieval with Struts 2 (Part 1 of 2...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.javajourneyman.com/feeds/232497679424115041/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default'/><link rel='alternate' type='text/html' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html'/><author><name>Andrew Will</name><uri>http://www.blogger.com/profile/05660726425091773836</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='25' src='http://bp3.blogger.com/_2-ZeSFOI_RE/SHVdKUuj15I/AAAAAAAAAEg/foscorvVu5c/S220/n506783965_126918_1801.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-487124160501087596.post-2731578624045287702</id><published>2010-01-07T11:25:16.639-07:00</published><updated>2010-01-07T11:25:16.639-07:00</updated><title type='text'>You can still follow below code 



class where se...</title><content type='html'>You can still follow below code &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;class where session value is to set:&lt;br /&gt;----------------------------&lt;br /&gt;&lt;br /&gt;private Map session;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@Override&lt;br /&gt;public String execute() throws Exception {&lt;br /&gt;getSession().put(&amp;quot;username&amp;quot;,getUsername());&lt;br /&gt;return SUCCESS;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;public void setSession(Map session) {&lt;br /&gt;this.session = session;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public Map getSession() {&lt;br /&gt;return session;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-----------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Class where session value from first class is to be retrieved:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private Map session;&lt;br /&gt;private Object someObjectFromSession;&lt;br /&gt;&lt;br /&gt;someObjectFromSession = session.get(&amp;quot;username&amp;quot;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; public void setSession(Map session)&lt;br /&gt;        {&lt;br /&gt;            this.session = session;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public Map getSession()&lt;br /&gt;        {&lt;br /&gt;          return session;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;----------------------&lt;br /&gt;&lt;br /&gt;dont forgot to import :&lt;br /&gt;&lt;br /&gt;import com.opensymphony.xwork2.ActionSupport;&lt;br /&gt;import java.util.*;&lt;br /&gt;import org.apache.struts2.interceptor.SessionAware;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/2731578624045287702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/2731578624045287702'/><link rel='alternate' type='text/html' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html?showComment=1262888716639#c2731578624045287702' title=''/><author><name>SUBHASISH</name><uri>http://www.blogger.com/profile/13030667178504781967</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html' ref='tag:blogger.com,1999:blog-487124160501087596.post-232497679424115041' source='http://www.blogger.com/feeds/487124160501087596/posts/default/232497679424115041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2022713282'/></entry><entry><id>tag:blogger.com,1999:blog-487124160501087596.post-6051194546282690322</id><published>2010-01-07T11:20:05.808-07:00</published><updated>2010-01-07T11:20:05.808-07:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/6051194546282690322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/6051194546282690322'/><author><name>SUBHASISH</name><uri>http://www.blogger.com/profile/13030667178504781967</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html' ref='tag:blogger.com,1999:blog-487124160501087596.post-232497679424115041' source='http://www.blogger.com/feeds/487124160501087596/posts/default/232497679424115041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2022713282'/></entry><entry><id>tag:blogger.com,1999:blog-487124160501087596.post-1001517314480557647</id><published>2010-01-07T11:18:11.892-07:00</published><updated>2010-01-07T11:18:11.892-07:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/1001517314480557647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/1001517314480557647'/><author><name>SUBHASISH</name><uri>http://www.blogger.com/profile/13030667178504781967</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html' ref='tag:blogger.com,1999:blog-487124160501087596.post-232497679424115041' source='http://www.blogger.com/feeds/487124160501087596/posts/default/232497679424115041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2022713282'/></entry><entry><id>tag:blogger.com,1999:blog-487124160501087596.post-5927406988864091271</id><published>2009-02-08T03:33:00.000-07:00</published><updated>2009-02-08T03:33:00.000-07:00</updated><title type='text'>nice post, this is what i'm looking for. Thank you...</title><content type='html'>nice post, this is what i'm looking for. Thank you</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/5927406988864091271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/487124160501087596/232497679424115041/comments/default/5927406988864091271'/><link rel='alternate' type='text/html' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html?showComment=1234089180000#c5927406988864091271' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.javajourneyman.com/2008/07/session-value-retrieval-with-struts2.html' ref='tag:blogger.com,1999:blog-487124160501087596.post-232497679424115041' source='http://www.blogger.com/feeds/487124160501087596/posts/default/232497679424115041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1299910978'/></entry></feed>
