Output: name: Jack
address: Main Street.
Going through a Struts action is hardly complex -- it's very basic to the way that Struts and other Model 2 web apps work. If you are finding that Struts is getting in the way of what you are wanting to do, perhaps you need to re-evaluate its use.
Asking for sample code won't get you much of anywhere. No one has time to write code for you, and if you've already searched on google, you already know what's out there.
One of the easiest approaches may be to always display the data in a text field, just make them read-only when not in "edit mode". You can even use CSS to make them look less field-like when not editing.
Joined: Apr 10, 2009
I see, Bear, thank you for the info and help. Appreciate!