hello,
how do I pass a parameter to an sql query ?
I can type into a text box then submit it to a servlet, then open another jsp showing the typed parameter, but if I try to add the parameter like below no data is displayed :
String queryString = "SELECT name, Postcode, County FROM Establishments WHERE Postcode = "+Est_Postcode+" ORDER BY name ";
any ideas ?
how do I pass a parameter to an sql query ?
I can type into a text box then submit it to a servlet, then open another jsp showing the typed parameter, but if I try to add the parameter like below no data is displayed :
String queryString = "SELECT name, Postcode, County FROM Establishments WHERE Postcode = "+Est_Postcode+" ORDER BY name ";
any ideas ?