I'm trying to retrieve the value of 6 properties in struts. But, for some values I'm getting as "0" (wrongly), but for others, I'm not getting the values, itself.
So which values are you getting a 0 for and which values are you getting nothing? I will tell you that according to the JavaBean specification, getters and setters should be camel case. That is, the getter for a property named first_number should be getFirst_number.
Another question - is there a way for logging values, events in struts?? (Just to check for step by step values in "ActionClass"
If you use System.out.println(), the output should go to your web server log. Struts uses Log4j, which is much more flexible than println.