I think that you want to use the escape character... you have to use '\'
like this:

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




|---------+---------------------------->
|         |           "Ian Hayes"      |
|         |           <[EMAIL PROTECTED]|
|         |           .com>            |
|         |                            |
|         |           12/07/2005 09:08 |
|         |           Please respond to|
|         |           "Struts Users    |
|         |           Mailing List"    |
|         |                            |
|         |                            |
|         |                            |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                   |
  |       To:       "Struts User" <user@struts.apache.org>                      
                                                   |
  |       cc:                                                                   
                                                   |
  |       bcc:                                                                  
                                                   |
  |       Subject:  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?








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to