Hi how do I embed a variable in a sql statement in a Java bean. I am trying reference a vaule from my jsp which is stored in the variable argshowcourse in my java bean. Is this the right way to do it?
String sqlQuery = "SELECT * from modules WHERE 'argShowCourse' = 'O';
String sqlQuery = "SELECT * from modules WHERE 'argShowCourse' = 'O';