Two Laptop Bag*
The moose likes Servlets and the fly likes dropdown list in hidden form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "dropdown list in hidden form" Watch "dropdown list in hidden form" New topic
Author

dropdown list in hidden form

ata pazvant
Greenhorn

Joined: Mar 03, 2008
Posts: 5
Hello , I am new to servlets-jsp and I am struggling to create an online store shopping card with session track.I have to create a page that consists of dropdown list with items and submit button.My question is when I select an item from ddlist, I always have the first hidden field value in orderpage .So how can I manage that when I choose the 3. item in ddlist , I have the 3. item's information in orderpage?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
If I understand the question correctly, your solution lies in the Javascript corner. This has essentialy nothing to do with JSP/Servlets.
ata pazvant
Greenhorn

Joined: Mar 03, 2008
Posts: 5
I am not sure ıt has nothing to do with javascript.What I am trying to do is simple "online store shopping card" with hidden form.I am pretty sure that Every jsp-servlet books has this kind of example.My problem is I am just stuck with how to use dropdown list properly.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

I am not at all sure what your question is saying. Perhaps you can explain it better.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dropdown list in hidden form
 
Similar Threads
how to make select list uneditable
Javascript inside JSF problem
How to retain selected content after post on same page
dynamic drop down list
Adding divider lines to h:selectOneMenu dropdowns