You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ian Hayes <da...@dsl.pipex.com> on 2005/07/12 09:07:47 UTC

How to display a Java format string 'as is' in a Struts web app page?

In one part of my Struts web app I want to display and then edit a Java
format string, like...

        This is a Java\tformat string\nthat will be used by {0} to {1}

In my web app page I want to see all the '\' format text entries, but when I
display this type of string in a Struts text area control the display
process translates the '\' chars and does not display them.

Is there a way to get around this and display the format string in its
original state?