File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes managing hidden field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "managing hidden field" Watch "managing hidden field" New topic

managing hidden field

biswajit ray
Ranch Hand

Joined: Nov 30, 2005
Posts: 30
i n my home page i have a link to a page where i have to give information about the user where by giving all the information the unique id is getting generated.and i need to keep track of this id .and when we go for shopping and completed shopping i need to save all the information along with the unique id in the database in order to recognize the user so that after 2 or 3 days if he will come ro see his status he will provide his id so that with the help of this id the database will be queried and respective dtas will be retrived
.but the problem is that this unique id is not getting stored in the database.Except the unique id everything is getting stored. Plz help me in solving this.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

It will be difficult to help without seeing relevant part of the code.
Debug the userId just before writing to the DB.

[My Blog]
All roads lead to JavaRanch
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1090
The unique ID is not getting saved.

So I guess thats your problem. Paste the code that is responsible for saving the unique ID in the DB.
[ February 08, 2006: Message edited by: Anupam Sinha ]
I agree. Here's the link:
subject: managing hidden field
It's not a secret anymore!