java servlet login with role
java servlet login with role
Here it is the prblem
if (esito==Admin)
checking two string with arithmetic operator is not correct.
instead of that use like this.
if (esito.equalsIgnoreCase(Admin))
Here it is the prblem
if (esito==Admin)
checking two string with arithmetic operator is not correct.
instead of that use like this.
if (esito.equalsIgnoreCase(Admin))