Dynamic « Parameter « JSP-Servlet Q&A





1. jsp:param : name parameter can't accept dynamic data?    stackoverflow.com

I'd like to set the "name" param to a jsp:param in a "dynamic-way", that is : <jsp:param value="<%=paramValue%>" name="<%=pageURL%>"/> instead of : <jsp:param value="<%=paramValue%>" name="page"/> Or a similar way to do it .. I just ...

2. JSP & adding dynamically parameters    coderanch.com

3. Dynamic parameter    coderanch.com

If you have a form that generates parameters where the same name is associated with multiple values, you want the getParameterValues( "name" ) (note the plural) method. It returns an array of String, not a vector. You should still get one value with getParameterValue("name") - a null means there is no parameter of that name. Bill