Search code examples
javagwtservletsgwt2formpanel

reading file , checkBox value on the server side in GWT


My problem is similar

i have to Send the textBox.value and file. I am using FormPanel to do so.

I can retrive file but the value of checkBox is not retrived.

How to do it.


Solution

  • Put a name on your checkbox and in your servlet retrieve the value with request.getParameter(name) where the name matches the one of your checkbox.