Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dynamically passing parameters to another jsp:include page

843836Aug 14 2003 — edited Nov 18 2005
Hi,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2005
Added on Aug 14 2003
4 comments
845 views