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))

java servlet login with role

Leave a Reply

Your email address will not be published. Required fields are marked *