This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
The following works fine as long as the names do not have a quote. For example, a name such as O'brien causes an error when the JSP is rendered. Is there a function that will help to encode or handle this situation?
The following also causes an error ONLY if the names contain a quote.