File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "dropdown list in hidden form" Watch "dropdown list in hidden form" New topic

dropdown list in hidden form

ata pazvant

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

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

Joined: Jan 10, 2002
Posts: 63868

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: dropdown list in hidden form
It's not a secret anymore!