In action class i am reading value from the database.
Let’s say “abc”.Now the “abc” value should be populated to jsp page.i.e “abc” value should set to s:hidden field in the jsp page.
Since it is single value , i don’t want to use List in the action class.
Is there any other way to do that ?
In action class i am reading value from the database. Let’s say abc.Now the
Share
Why would you want to use a list? Just provide the appropriate getter like:
and in your page access it with simple OGNL expression like:
Hope I got it right.