Hi,

I am using struts 2.1.8.1 and spring 2.5.6 with Ibatis and oracle as db.
I have 114 properties in my java bean(ProdmDatPm.java) and i need to show
all of them in jsp page as editable fields.
i got property ProdmDatPm class object in Action class.

I need to track which fields got changed in jsp.
Before going to editable jsp page i am putting this object in session with
different property name.
So after edit action i can get from session and compare the properties of
these 2 objects(one in session and another from after edit).

But both are showing the value after edit.
IN jsp i am using like this
                         <s:label id="label_ItemsecName"
key="pminfo.item_secondary_name"/>
                         <s:textfield key="prodmDatPm.item_secondary_name"
id="prodmDatPm.item_secondary_name" size="60"/>

So prodmDatPm is the object name of class ProdmDatPm.java in action class.

Now when i check after edit action, the object in session also showing the
values after the properties getting changed.

Why is this happening.
Can anybody explain.

Thanks and Regards
RS


-- 
View this message in context: 
http://old.nabble.com/Passing-2-objects-of-same-class-to-jsp-tp27292773p27292773.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to