Try this:


<html:messages id="error" message="false">
  <bean:write name="error" filter="no"/>
</html:messages>



Regards,
John

[EMAIL PROTECTED]
Ph (09) 372-5010


|---------+---------------------------->
|         |           Leandro Melo     |
|         |           <[EMAIL PROTECTED]|
|         |           oo.com.br>       |
|         |                            |
|         |           12/08/2004 11:19 |
|         |           PM               |
|         |           Please respond to|
|         |           "Struts Users    |
|         |           Mailing List"    |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       struts jakarta <[EMAIL PROTECTED]>                                 
                     |
  |       cc:                                                                          
                          |
  |       Subject:  A character decoding problem                                       
                          |
  
>--------------------------------------------------------------------------------------------------------------|




Hi,
i got a weird thing happening. Actually it's not that
weird, it has very sense, but anyway, i would like to
avoid that.

Ther word "you" in portuguese is "você".
I got some error messages like that.

error.invalid.name=Voc&ccedil; deve digitar o nome.

What in english would be

error.invalid.name=You should input your name.

I'm using, as Jim, the following block to catch my
errors.

<html:messages id="error" message="false">
  <bean:write name="error" />
</html:messages>

When i get the error a described above, here is what
the browse page displays:

 Voc&ecirc; deve especificar o nome fantasia.

and what i really wanted for it display was:

 Você deve especificar o nome fantasia.

If i take a look at the page's source code via
browser, here's the source for that line.

Voc&amp;ecirc; deve especificar o nome fantasia.

As you, it's not what i expected. How can i avoid
Struts "decoding" my characters???



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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




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

Reply via email to