You've put the string "details" into session (line 95).
You also appear to be putting a new instance of the action itself into session--this is rather unusual. Normally you'd want to use a simple DTO.
It's also not clear to me if this needs to be in session, or just needs to be usable on the JSP--action properties are available in the JSP by default as long as they have a public accessor.
Lastly, in general, it's best to avoid doing that type of database work in the action itself--that logic belongs in a service which can then be use *by* the action.
Prashant K. Singh
Greenhorn
Joined: May 11, 2009
Posts: 18
posted
0
Hi,
I changed my .jsp logic and now I am able to print the values