This is more of an SQL question rather than a java question...look into using the operator 'LIKE' (SQL LIKE Operator)
Type: Posts; User: copeg
This is more of an SQL question rather than a java question...look into using the operator 'LIKE' (SQL LIKE Operator)
1) Your servlet calls next without retrieving the results of this call.
boolean Records=rs.next();
....
while(rs.next()){
2) You should be sure the first column returned is the one you want...