I have gone through many struts related sites and threads on JavaRanch forum about runtime problem obtained using struts tag <htmlptionsCollection> . I have seen that it is not resolved yet completely.
I gone through one Struts HTML Tag site and made some changes in the code according to that.
By doing some changes optionsCollection tag is working fine but giving error at runtime.
Why "JspException: Failed to obtain specified collection" error obtained at runtime even <htmlptionsCollection> tag working fine?
The link to source strutsapp.zip file is given below. Source contains files of interest.
strutsapp.zip Source is created using NetBeans 6.8 after clean task performed.
To use source perform following steps
1. Unzip to a folder
2. Open it with NetBeans 6.8
3. Perform clean and build task using netbeans
4. Run application