RE: what is wrong here?

2003-05-27 Thread Mark Galbreath
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

RE: what is wrong here?

2003-05-27 Thread Steve Raeburn
gt; 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.

RE: what is wrong here?

2003-05-27 Thread Mark Galbreath
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 > -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: May 27, 200

RE: what is wrong here?

2003-05-27 Thread Steve Raeburn
I vaguely remember something about the JSP processor not converting to a String when you use an expression inside a tag like that. Someone els emay have the details. Anyway this works: Steve > -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: May 27, 2003 6:44 PM