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 PM
> To: 'Struts Users Mailing List'
> Subject: what is wrong here?
>
>
>
> I keep getting errors on the following: (I am using 1.1 beta 3)
>
> <bean:define id="col" value='<%= 6 / 4 + 1 %>' />
>
> Can someone tell me what is wrong here?
> Thanks,
> Erez



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

Reply via email to