<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - is sessions variable and pageContext variable thread safe?</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sat, 25 May 2013 11:57:13 -0400</pubDate>


    <item>

        <title>is sessions variable and pageContext variable thread safe?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=27369</link>

        

        
            <description><![CDATA[Thank you.<br>you almost get what I did!<br>only diffrence is I use HashMap instead of HashTable,is this OK?]]></description>
        

        <pubDate>Fri, 16 Jul 2004 10:29:55 -0400</pubDate>

        

        <jf:creationDate>Fri, 16 Jul 2004 10:29:55 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 16 Jul 2004 10:29:55 -0400</jf:modificationDate>
        <jf:date>Jul 16, 2004</jf:date>
        <jf:author>zhang zhang</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>is sessions variable and pageContext variable thread safe?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=27369</link>

        

        
            <description><![CDATA[Hi zhang zhang,<br><br>if your &quot;session map&quot; is not an instance variable of the tag, there should be no problem. I'm assuming you do something like get attributes from the session in the doEndTag() method of your tag like this:<br><br>public...]]></description>
        

        <pubDate>Fri, 16 Jul 2004 03:05:25 -0400</pubDate>

        

        <jf:creationDate>Fri, 16 Jul 2004 03:05:25 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 16 Jul 2004 03:05:25 -0400</jf:modificationDate>
        <jf:date>Jul 16, 2004</jf:date>
        <jf:author>Rene Zanner</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>is sessions variable and pageContext variable thread safe?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=27369</link>

        

        
            <description><![CDATA[Hi,<br>If you are using a &quot;Hashtable&quot; as your Map your objects are already <br>thread-safe. If you wanna make the entire JSP page threadsafe, do this at the start of the page :- <br><br>&lt;%@ page isThreadSafe=&quot;false&quot;...]]></description>
        

        <pubDate>Thu, 15 Jul 2004 23:46:58 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Jul 2004 23:46:58 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Jul 2004 23:46:58 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2004</jf:date>
        <jf:author>Madankumar Neelakantan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>is sessions variable and pageContext variable thread safe?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=27369</link>

        

        
            <description><![CDATA[thank you.session is not shared by others.but my point is that:<br>in the tag,the session are put in a map,and map is put in pageContext,so that they can be accessed from jsp,my question is if pageContext could be shared by others?<br>thank you]]></description>
        

        <pubDate>Thu, 15 Jul 2004 15:46:02 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Jul 2004 15:46:02 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Jul 2004 15:46:02 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2004</jf:date>
        <jf:author>zhang zhang</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>is sessions variable and pageContext variable thread safe?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=27369</link>

        

        
            <description><![CDATA[Session Objects are created for each user seperately. How can one user access another user's session object? If you keep it in Application scope, it may be possible. But I think not with session objects.<br><br>Senthil.]]></description>
        

        <pubDate>Thu, 15 Jul 2004 15:40:24 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Jul 2004 15:40:24 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Jul 2004 15:40:24 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2004</jf:date>
        <jf:author>Senthil Chinnaiyan</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>is sessions variable and pageContext variable thread safe?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=27369</link>

        

        
            <description><![CDATA[I'm using JSPs and a custom tag.<br>in the tag, there are 2 things<br>1.get sessions variables and put them into a Map.<br>2.get a remote interface of ejb<br><br>the session map and ejb instance are put in pageContext by using...]]></description>
        

        <pubDate>Thu, 15 Jul 2004 11:54:09 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Jul 2004 11:54:09 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Jul 2004 11:54:09 -0400</jf:modificationDate>
        <jf:date>Jul 15, 2004</jf:date>
        <jf:author>zhang zhang</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>



</channel>
</rss>

