You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/03/26 23:25:01 UTC

Multiple Selects in a JSP

Subject: Multiple Selects in a JSP
From: "Ken Holzer" <kh...@bhroyce.com>
 ===
I have two selects in my JSP and I want to be able to dynamically change the
options of the 2nd select based on the choice selected from the 1st select.

Is there a way to do that using the Struts tags?

Thanks,

Ken



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Multiple Selects in a JSP

Posted by Richard Yee <ry...@cruzio.com>.
The selection takes place on the browser. Therefore, you need to use 
JavaScript to do it. This is unless you have a large amount of different 
options in select #1 and need to go to the server to get the options for 
select #2. You'd then need to do an onchange in select #1. That would be 
pretty annoying for the user.

-Richard

At 02:25 PM 3/26/2002 -0800, you wrote:
>Subject: Multiple Selects in a JSP
>From: "Ken Holzer" <kh...@bhroyce.com>
>  ===
>I have two selects in my JSP and I want to be able to dynamically change the
>options of the 2nd select based on the choice selected from the 1st select.
>
>Is there a way to do that using the Struts tags?
>
>Thanks,
>
>Ken
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>