hi,
I am making a web based application.There is a page where user can update his record.
For that when user clicks on modify button on one page(page1.jsp) the corresponding record is to be displayed in textboxes corr to various fields such as name ,id etc. on a different page(page2.jsp).The user can then modify his info and when again he clicks on update the record is to be updated in db.

Now im makin page1.jsp enter user id and check if record exists in a java file(java1.java)
i have made a retrieval class(java2.java) also tht wud retrieve record from db and one update class(java3.java) to update db after modification.

I do not understand how to use userid passed on page1.jsp in retrieval class(java2.java) and display this in page2.jsp.Please explain.

Thx

It's passed in the http request to the server, where you do whatever you need to with it and put it in the http session, as well as put it into the generated html for the output somewhere if needed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.