That's a scriptlet, and scriptlet var != JSP-exposed var. Use JSP EL.
Dave On Fri, Jan 10, 2014 at 9:43 AM, A. Lotfi <majidna...@yahoo.com> wrote: > Hi, > I have an action that sent an array of strings : > private static final String METADATA_ATTRIBUTE_TYPES = "icTypes"; > > ........ > request.setAttribute(METADATA_ATTRIBUTE_TYPES, icTypesList); > > return mapping.findForward(SUCCESS); > > > in my jsp file I did : > > <label class="formLabel">Transfer Type</label> > <html:select title="Environment" styleId="type" > property="valueTransferType" styleClass="criteria"> > <html:option value="ALL">ALL</html:option> > <logic:iterate id="transType" name="icTypes"> > <html:option > value="${transType}"><%=transType%></html:option> > </logic:iterate> > </html:select> > > When I run the project, it's working fine, I can see all the values in the > drop down menu, but the jsp still show an error in this line : > > <html:option value="${transType}"><%=transType%></html:option> > > It said : > > Cannot find symbole > symbole: variable transType > > > Thanks, your help is appreciated. -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton <https://twitter.com/dave_newton> b: Bucky Bits <http://buckybits.blogspot.com/> g: davelnewton <https://github.com/davelnewton> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>