Quick and easy Ajax question:
Given: A value is passed from js t to a servlet
Question: does the value have to be used?
Found in one of my other posts Kuldeepchaturvedi: had a thought and thought to post it as a new question. I agree that the passed value/parameter needs to be added to the select statement if it is tyo be considered but I disagree if all I want is to run a selectstatement. Thank you in advance for your thoughts!! Found below is the code in question the link canbe found above.
// in the query part you may have to add a where clause using the keys that you have recieved from client
resp = resp + "<Business>";
String lsQuery = " (SELECT ORG_KEY , ORG_NAME FROM ORG_TAB ORDER BY ORG_NAME ASC)";