html - Passing the value of a checkbox -


i want pass value of checkbox through use value of clause in mysql query in jsp can give checkbox value this?

<input type="checkbox" name="unit" autocomplete="off" value="networks"> 

then use value of clause so

select * table_name table_name.field_name = ${param.unit} 

i want param.unit equal networks when passed

to after page submit use

string[] selectedvalues = request.getparametervalues("unit"); 

which returs array of values checked inthe group unit.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -