Hi Sonny Gill,
Thanks for your reply..
i have provided System.out.println() command in getter/setter methods of countryList, in constructor, and in execute method. and the result is as follows:
Feb 7, 2009 5:29:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8643 ms
In Constructor: [com.action.CountryVO@11ed166, com.action.CountryVO@45aa2c, com.action.CountryVO@1a734ff]
Feb 7, 2009 5:30:05 PM com.opensymphony.xwork2.validator.ActionValidatorManagerFactory <clinit>
INFO: Detected AnnotationActionValidatorManager, initializing it...
In getCountryList(): [com.action.CountryVO@11ed166, com.action.CountryVO@45aa2c, com.action.CountryVO@1a734ff]
In setCountryList(): [com.action.CountryVO@11ed166, com.action.CountryVO@45aa2c, com.action.CountryVO@1a734ff]
In execute(): [com.action.CountryVO@11ed166, com.action.CountryVO@45aa2c, com.action.CountryVO@1a734ff]
In getCountryList(): [com.action.CountryVO@11ed166, com.action.CountryVO@45aa2c, com.action.CountryVO@1a734ff]
I am not getting proper values .. and the select tag is empty when executing the program (means, empty drop-down list)
Please have a look on my java program :
and my JSP is :
Is anything wrong in this program?
Thanks again for your time and prompt reply,
Lakshman.