On Mar 16, 2007, at 7:46 AM, Coding Horse wrote:
I have a quick question about storing a stateful Integer as a session
attribute.

This attribute "sequenceNumber" of type Integer holds an increasing sequence
number.  Do I need to save it back with
session.setAttribute("sequenceNumber", new Integer (theModifiedIntValue))
after I modify it?

Yes. Java Integer objects are immutable.

-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to