You need to specify the value attribute in <html:select> which will gives the selected value.

Hope you will find it helpful...

Abhinav Kansal

Greenhorn

Posts: 5

posted 5 years ago

Everything else is correct apart from the fact that values are being set in Java and HTML must have been placed in some JSP. To get that value, you would need to set that value in Request scope and use a $ to retrieve it on frontend.