Try using the following with JSTL: <c:set var="myValue" value="${teacher.SSN}"/>
or you can try the following using <bean:*.../> <bean:define id="myValue" name="teacher" property="SSN"/> If you are still getting a error make sure you are using proper JavaBean naming conventions. You can find this in the JavaBean specification. robert > -----Original Message----- > From: as as [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 21, 2004 12:47 PM > To: Struts Users Mailing List > Subject: Bean:write > > > > Hi, > > > > In my logic:iterate tag, I want to pull out the value of the bean:write tag. > > I am using following syntax. > > something is probably wrong, as i am getting a compile error. > > looking for right syntax > > basically all i want to to is pull out the value of the bean:write tag. > > > > Thanks in advance. > > <% java.lang.String myValue = <bean:write name="teacher" property ="SSN"/>;. > > > > > > > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]