0
html
in html form..there is a textfield.So if the client does not enter any value. now i m checking if then string.length()==0 then do something..but it is not working...why? and what is the solution?
1 Resposta
+ 3
check if the string is null and check if it is an empty string
yourString.equals("")