Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp drop down list problem  RSS feed

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi please tell me

How to make drop down list item/value/message static(should show the same value) while comming from other .jsp pages.

in other words, i have a drope down list in the first page. and i am commming back to edit the drop down list from 3rd jsp and now i want to show what i have selected earliar to the user.

may i know how to do that in simple why... i mean without using the drop down list twice... (assume the list is having 100 values/ country names on the earth)?

thanks in advance,

and regards,
rahul
 
DeAlton Jones
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Thread hijack removed. Please ask your own questions in a new topic.]
[ June 04, 2007: Message edited by: Bear Bibeault ]
 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by DeAlton Jones:
may i know what this is
[Thread hijack removed. Please ask your own questions in a new topic.]

[ June 04, 2007: Message edited by: Bear Bibeault ]
 
Mani Venkata Kanth
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way is to use Javascript:

add list of options to your drop down like

i am sure it will be in form:
write this stmt:

I hope it will help you
Krishna Prasad
 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey, i am using only JSP not script not html tags for this
 
Mani Venkata Kanth
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then post your code > you will get good answer.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!