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: bean:define id=col value='%= Integer.toString(6 / 4 + 1) %' / Steve -Original Message- From: Erez

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, 2003 6:44

RE: what is wrong here?

2003-05-27 Thread Steve Raeburn
] 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

RE: what is wrong here?

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