This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!

Poornima Jain

Greenhorn
+ Follow
since Mar 11, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Poornima Jain

I'm using struts 2 and spring for this. I have a Action class, a Model class, DaoImpl class. regCase, totalCase etc. are defined in Model and are getting values from database through DaoImpl. When I'm printing those values on Actin class, it is displaying correct values, means all is fine till Action class but when I run it, the form is displaying values as 0. That is, something is wrong with how I'm displaying them on jsp, the values on jsp are coming as undefined. I've converted my Model into json in Action class but how to display this on jsp in below function?
JSP :



output:  undefined


Action class


Model:


DaoImpl:

 
output at Action class :

5 months ago