sure swastik
i can explain you uptil where i understand
i think struts tag library donot accept the default value which we have specified in my first post for this problem only i have mentioned the root cause error
I don't this anything is wrong with the setValue method, it does exist, only thing is it is expecting a String, not an int. So my logic should have worked as well.