Dynamically passing parameters to another jsp:include page
843836Aug 14 2003 — edited Nov 18 2005Hi,
I am new to JSP and currently on a project. Can anyone give me some advice on how I might be able to go about this. Thanks.
The following is a section which I call from a jsp page. It is a servlet component which will display some form controlls. "JType" exists in there as the name of the series of Checkbox controls all with the name "JType"
I need to pass multiple values under 1 parameter name called JType to the follow page.
<jsp:include page="servlet/TypeProcessing" flush="true">
<jsp:param name="JType" value="value1"/>
<jsp:param name="JType" value="value2"/>
<jsp:param name="JType" value="value3"/>
</jsp:include>
Besides doing the manual way, is there a way to programatically pass multiple values under the same param tag "JType"?
Don