AW: html:javascript question

2004-03-24 Thread Andreas Solarik
nice one, didn't even occur to me to do this. Andreas -Ursprüngliche Nachricht- Von: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. März 2004 16:05 An: Struts Users Mailing List Betreff: RE: html:javascript question var myMessage = ""; alert(myMessage) -Or

AW: html:javascript question

2004-03-24 Thread Andreas Solarik
Well, I believe that you are not allowed to mix static and dynamic text within a JSP, so something like alert("Error message: "); should fail. I read once that enclosing the dynamic text in single quotes whould work (never tried it though). One solution that I do know is: <% String te