Negru Ionut Valentin wrote:what I'm doing wrong ...
Negru Ionut Valentin wrote:I changed the code for the query into ResultSet rs=st.executeQuery("SELECT uId,password FROM userprofile WHERE uID='"+user+"' AND password='"+pass+"'"); and now it seems to work fine :D .. it seems this was the problem ... thanks Paul ...
Negru Ionut Valentin wrote:For now i don't really worry about security because it is only used by me and only for learning
Consider Paul's rocket mass heater. |