I have added two select box in a jsp using struts 2 tags and on selecting the Location , i am populating the Model select box automatically from database. Model is populated with right values from database but getting enabled. My main task is to populate and disable the Model select box permanently when i choose Location. Here is my code
Even thought i place disabled = "true", Model is getting disabled untill no values are populated. Once if there is a Model for a particular Location then Model is populated and getting enabled. Please help me with this.