The name of param passed to request.getParameter() method is dynamic
Hi, I have a concern. Hope someone can help me, thanks!
The name of the drop down menu is generated dynamically
<select name="<c:out value="${id}"/>versions" >
<option>
......
</option>
</select>
where id is defined using
<c:set var="id" value="xxx"/>
I am just wondering how do I get the value of the param using request.getParameter()?
The ways
1. <% request.getParameter("<c:out value="${id}"/>versions") %>,
2. <% request.getParameter("<c:out value=\"${id}\"/>versions") %>,
3. <% request.getParameter("${id}versions") %>
wouldn't work. It would simply treat whatever in the quotes as strings. Are there other ways to do?
Thanks a lot!

