how to validate char. in jsp?