The group button in my form is set to "unack".
The HwController receive the correct group "unack" when the "apply" button is clicked.
However, the HwController receive the null group when the cursor is moved to the text box and press the <Enter> key.
Only the data from the button is received incorrectly, the other form data are received correctly.
Please help so that the HwController will receive the correct group when the <Enter> key is pressed.
I use Spring 2.5.x to implement
JSP.
Eclipse console output:
12:56:52,187 INFO com.mycomp.hw.monitoring.war.HwController:57 - groupStr unack
12:56:52,187 INFO com.mycomp.hw.monitoring.war.HwController:60 - group unack
12:56:52,187 INFO com.mycomp.hw.monitoring.war.HwController:71 - rowsPerPageStr 40
12:56:52,187 INFO com.mycomp.hw.monitoring.war.HwController:80 - rowsPerPage 40
12:57:14,156 INFO com.mycomp.hw.monitoring.war.HwController:57 - groupStr null
12:57:14,156 INFO com.mycomp.hw.monitoring.war.HwController:60 - group all
12:57:14,156 INFO com.mycomp.hw.monitoring.war.HwController:69 - acked null
12:57:14,156 INFO com.mycomp.hw.monitoring.war.HwController:71 - rowsPerPageStr 60
12:57:14,156 INFO com.mycomp.hw.monitoring.war.HwController:80 - rowsPerPage 60
Hw.jsp file:
HwController.java: