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.

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.

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