Thursday, April 7, 2011

Login Application with case sensitive data

Hiii friends,

I am using Java and MySql softwares to login into my web application which was developed in jsp and servlets . In login application to check if username is admin and password is Admin. when we enter admin as un and admin as pwd it's logging in .To eliminate this we have to use one keyword as "BINARY" keyword in query like

"SELECT UN,PWD FROM  LOGIN WHERE UN=''"+UN+"' AND BINARY PWD='"+PWD+"';

that's it.

1 comment:

lainejackels said...

Casino Online (GAMBLER) - DRMCD
Find the best casino online in the UK. Sign 경산 출장마사지 up & get our 광주광역 출장샵 exclusive casino bonus. Play 정읍 출장안마 on 서귀포 출장샵 our huge range of 통영 출장마사지 games,

Hide Query By Example of PanelCollection on page load

Hi All, If there is a table with filterable is true. If you want to display QueryByExample then surround this table with panelCollection....