I have some code that displays text from an Oracle db onto a web page. When JSP writes out text with a single quote in it, it replaces it with a "$" or "?".
Do i need to use escape sequence for it?
str = str + "<TR><TD class='TextDarkGreyMedium'>" + replaceNull(course.getString("course_description")) + "</TD></TR>";
replaceNull just checks if the value is NULL and replaces it with an empty string, soft of like NVL in ORACLE.