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?
I think it's a java reference of Integer when I get the Integer out with
session.getAttribute("sequenceNumber") so the change will be automatically
saved in the attribute. Correct me if I am wrong.
Thanks.
--
View this message in context:
http://www.nabble.com/Do-I-need-to-save-back-a-modified-Integer-attribute--tf3414917.html#a9515909
Sent from the mina dev mailing list archive at Nabble.com.