The easiest way is to populate a list with a range of years in your servlet, then pass the list in as a reference in the context.

WILL

----- Original Message ----- From: "Rob Ratner" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 14, 2005 8:58 AM
Subject: Velocity JSP help


Hello all. Does any know how to do the following in a Velocity Template.

Dynamically figure out the current year and set up a drop down with a certain range of years to be shown in the drop down field.

Thanks a ton.


---------------------------------
Start your day with Yahoo! - make it your home page


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to