<?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 - Attaching Long Object to &amp;quot;request&amp;quot; or &amp;quot;session&amp;quot; object.</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, 18 May 2013 21:34:01 -0400</pubDate>


    <item>

        <title>Attaching Long Object to &amp;quot;request&amp;quot; or &amp;quot;session&amp;quot; object.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=19345</link>

        

        
            <description><![CDATA[This is not 100%. In your scenario forwarded request must be still the same object. Then you can apply setAttribute. Otherwise setParameter is enough.]]></description>
        

        <pubDate>Thu, 22 May 2003 09:31:04 -0400</pubDate>

        

        <jf:creationDate>Thu, 22 May 2003 09:31:04 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 22 May 2003 09:31:04 -0400</jf:modificationDate>
        <jf:date>May 22, 2003</jf:date>
        <jf:author>Richard Holly</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Attaching Long Object to &amp;quot;request&amp;quot; or &amp;quot;session&amp;quot; object.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=19345</link>

        

        
            <description><![CDATA[Or if you did want a String representation...
<br>
<br>&quot;&quot; + cid
<br>
<br>You'll be pleased to hear that JDK 1.5 is introducing something called autoboxing which will stop you having to perform this wrapping stuff]]></description>
        

        <pubDate>Sun, 18 May 2003 14:22:43 -0400</pubDate>

        

        <jf:creationDate>Sun, 18 May 2003 14:22:43 -0400</jf:creationDate>
        <jf:modificationDate>Sun, 18 May 2003 14:22:43 -0400</jf:modificationDate>
        <jf:date>May 18, 2003</jf:date>
        <jf:author>Aaron Robinson</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Attaching Long Object to &amp;quot;request&amp;quot; or &amp;quot;session&amp;quot; object.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=19345</link>

        

        
            <description><![CDATA[why use a String?
<br>
<br>request.setAttribute(&quot;longObj&quot;,new Long(cid));]]></description>
        

        <pubDate>Fri, 16 May 2003 04:37:48 -0400</pubDate>

        

        <jf:creationDate>Fri, 16 May 2003 04:37:48 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 16 May 2003 04:37:48 -0400</jf:modificationDate>
        <jf:date>May 16, 2003</jf:date>
        <jf:author>Fabrizio Gianneschi</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Attaching Long Object to &amp;quot;request&amp;quot; or &amp;quot;session&amp;quot; object.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=19345</link>

        

        
            <description><![CDATA[I have a scenario whereby I forward the HTTP request from Servlet to a JSP for a HTML display. While doing so, I need to attach a &quot;long&quot; value to the &quot;request&quot; object. My solution was to use Long.valueOf(Long.toString(cid)) and attach...]]></description>
        

        <pubDate>Wed, 14 May 2003 22:29:03 -0400</pubDate>

        

        <jf:creationDate>Wed, 14 May 2003 22:29:03 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 14 May 2003 22:29:03 -0400</jf:modificationDate>
        <jf:date>May 14, 2003</jf:date>
        <jf:author>Devarajan Ramakrishnan</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>



</channel>
</rss>

