Hi,

I create an ActionMessages object and store one ActionMessage in it. The
ActionMessage is a string which contains the \n character 
to display the whole message in more than one line:

message1\nmessage2\nmessage3...


In my jsp I have defined the html:message for iteration within a javascript
block as I would like to display the message by the javascript alert
function. 

The problem is, that I always get a javascript error for the \n character
(unterminated string constant). However, if I remove the \n character
everything works. But then, the whole message is displayed in one line. Can
someone help?

thx,
Dirk 


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

Reply via email to