wood burning stoves 2.0*
The moose likes Struts and the fly likes STRUTS2 Dynamic data is not updated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS2 Dynamic data is not updated " Watch "STRUTS2 Dynamic data is not updated " New topic

STRUTS2 Dynamic data is not updated

pardeep gorla

Joined: Jun 30, 2011
Posts: 1

Hi All,

I am new in struts and try to make an application in struts2.

In application i am tried to fetch variable, and saved that in a class variable, and then use set & get method for saving the variable which i was fetched through database. Now the problem, data is fetched successfully but when we try to save the variable using set methodthat was save sucessfully but temporary means i used SOP inside the set method it shows the data has been save successfully but when we call get method it will return the null value of hard coded values or we try to acces the value outside set it will return the null value.

Please help, please let me know if i miss some important part of struts2

I used below tags

<s:bean name="Test.tion">
It was created by <s:property value="%{name}"></s:property><br>
<s:textfield name="name" label="Name"/>

I agree. Here's the link: http://aspose.com/file-tools
subject: STRUTS2 Dynamic data is not updated
Similar Threads
For Getting Distinct value (In Struts2)
struts2 iterator tag
migration to Struts2
Retriew the values from the database using Struts2.
Struts2 show object attributes in jsp.