Ah f*ck...I've been working 16 hours straight and no end in site; got a
deadline to meet in the AM.  I'll review this tomorrow.

Mark

-----Original Message-----
From: Steve Raeburn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2003 11:41 PM
To: Struts Users Mailing List
Subject: RE: what is wrong here?


That's not true. 'System.out.println(6 / 4 + 1 );' outputs 2, as does <%= 6
/ 4 + 1 %>. It just doesn't work when it's nested like that.

Steve


> -----Original Message-----
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: May 27, 2003 8:13 PM
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: what is wrong here?
>
>
> Well, for one thing, review your JSP.  <%= xxx %> is a synonym for 
> "out.println."  It cannot render calculations at runtime.  You have to 
> have a function to do that, like <%= calculate( 6/4+1 ) %>.
>
> Mark
>


---------------------------------------------------------------------
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