Yes it does sound messy i agree.
Here's an alternative scenario :
The user clicks on as many checkboxes he wants and this after processing in a
servlet or JSP takes him to a page with a link for each download he selected. so if he chooses 1 & 3 , the links associated with checkbox 1 & 3 are displayed in the next page.
Now to the part you've been waiting for : how will you read the parameters if they all have the same name ?
check this page :
http://java.sun.com/j2ee/j2sdkee/techdocs/api/javax/servlet/http/HttpServletRequest.html for a method called getHeaders(
String )
where you specify the name of the parameter you want and it will return all the values this parameter has in the header as a
Java Enumeration object.
if you need more clarification reply back.
------------------
KaReEm