public boolean getBoolean(String name)
    {
        boolean val = false;
        try {
            val = Boolean.valueOf(request.getParameter(name));
        } catch (NumberFormatException e) {}
        
        return val;
    }
public boolean getBoolean ( String name ) { boolean val = false ; try { val = Boolean . valueOf ( request . getParameter ( name ) ) ; } catch ( NumberFormatException e ) { } return val ; }
get a boolean argument

@param   name
@return  boolean