go take a look at http://javawebparts.sourceforge.net

they have a ajax dynamic double select servlet..



On 4/6/06, Madhav Bhargava <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I have 2 drop downs in my JSP. One drop down gets populated based on the
> value selected in the other drop down. At present this is done using a Tag
> handler call. The control goes to a rendering action which then forwards
> the
> call to the JSP. From within the JSP the tag handler is invoked passing
> all
> the necessary arguments. This all works fine except that now the client
> wants to introduce Ajax so that a page refresh is avoided.
>
> I do not want to put any Html generating logic inside my action class. Is
> there any other elegant way in which i can generate the HTML for the drop
> down.
>
> I can very well write different methods to generate the HTML code and then
> call these methods from within my action class. But somehow this does not
> look very elegant to me.
>
> Any help will be appreciated.
>
> --Madhav
>
> --
> When I tell the truth, it is not for the sake of convincing those who do
> not
> know it, but for the sake of defending those that do
>
>

Reply via email to