How to get the selected value from drop down list in jsp?

前端 未结 5 1552
难免孤独
难免孤独 2020-12-31 08:25

    
    
    
  
  

in some.jsp

request.getParameter("item");

this line will return the selected option (from the example it is: 1, 2 or 3)

提交回复
热议问题