I have a java bean in a session and I did this:
QuestionnaireBeanWrapper wrapper = ( QuestionnaireBeanWrapper ) session.getAttribute( examPart );
wrapper.getQuestionnaireBeanList().get( examNumber - 1 ).setQuestionAnswer( examAnswer );
I change an attribute in the bean
. My question is should I set it again in the session
? or the object in the session
is changed automatically?