I have a scriptlet in my JSP which I wish to rewrite using JSTL and tags and to get rid of the java code. How can I perform this?
<% for (int i = 30; i < 90; i++) { %> <html:option value="<%=Integer.toString(2003-i)%>" ><%=2003-i%></html:option> <% } %> I wish to do something like: <c:forEach var="age" begin="30" end="90"> <html-el:option value='${CurrentYear - age}' > <c:out value='${CurrentYear - age}' /> </html-el:option> How to compute the CurrentYear? Thanks a lot, Erez --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]