@[xubz] u must be joking! that site is developed in asp.net and java is much more secure ever heared of PreparedStatement? or jpa
and i am a java developer.
and it is a mistake from developer side i'll not blaim .net or php but it is the mistake from developer they should do proper validation most of the developer in india prefer to do validation just from client side but not server side the reason is server side validation put the extra load on server. The safe way is we should do both client side and server side validation. Client side for normally all the users and server side to protect from hackers!
if you are a java developer than remember never use CreateStatement!
use PreparedStatement or much better persistence api