File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 61447
    
  67

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: dropdown list in hidden form