How to escape a string on a description field

2005-10-24 Thread C.F. Scheidecker Antunes
Hello all, I am having problems with my struts app. I am trying to enter a long string on a description field of a MySQL database but it crashes if the string has caracters that need to be escaped. What about the reversed operation when you are to display that on the JSP? How can I fix

Re: How to escape a string on a description field

2005-10-24 Thread Bob Arnott
C.F. Scheidecker Antunes wrote: Hello all, I am having problems with my struts app. I am trying to enter a long string on a description field of a MySQL database but it crashes if the string has caracters that need to be escaped. org.apache.commons.lang.StringEscapeUtils is your friend,