hi to every one,


I have created a table with username and password
|username|password|
---------------------
| usr11 | usr11 |
----------------------
| 123 | 123 |
---------------------- and these are the fields present in it.But when I am trying to give username and password from jsp page but i am unable to know how to compare these values tht have been given in jsp.



--------------->i used equalstoIgnorecase() to compare between strings.


So, when i am giving username as "usr11" ----------->it is giving wrong username


what should i do for such comparision...