struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Alvarado \(Struts List\)" <>
Subject Logic inside iterate tag
Date Thu, 18 Apr 2002 18:15:01 GMT
Can anyone tell me what the proper way to convert the scriptlets in the
below code to the correspoding struts tags.

Since I am working with a two dimensional array here, I am sort of confused
as to how to integrate it with the struts tags.  Any help with this is
greatly appreciated.

<html:select property="dateRangeMonthFrom">
	<logic:iterate id="calendar" name="mc" property="months" scope="session">
		<% String[] dateRangeMonthFrom = (String[])calendar; %>
		<html:option value="<%=dateRangeMonthFrom[1]%>"><%= dateRangeMonthFrom[0]

Juan Alvarado
Internet Developer -- Manduca Management
AOL Instant Messenger:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message