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 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

