• Post Reply Bookmark Topic Watch Topic
  • New Topic

dropdown in jsp using custom tags  RSS feed

 
sandhya patra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii,
My jsp page needs to have a dropdown box. on selecting one/more than one values from this list, the same values get populated in another one.. we have a delete button too , it allows to polpulate the second box again.
The thing is i am to avoid scripts and use custom tags as much as i can...

any help is appreciated..

Thanks..

:)
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think you need a custom tag? Can't you use the JSTL to iterate over a collection that holds the required data?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Unless you want to submit the whole page as if it were still 1998 whenever a selection is made from the first dropdown, you will need to use JavaScript.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!