Hi I have a situation, in firstpage i will populate data from the database to get the order at the same time want to get quantity from the user and send all parameters to the next page. What do we need to do here .
Assuming your firstpage is a jsp?, you can put hidden fields (<INPUT type="hidden" .../>) for the values you are getting from the database and get those values in the next page by request.getParameter("name")/request.getParameterValues("name") (this would return an array of values).
Welcome to Javaranch AR REDDY , If there's a form on the first page, submitting it will automatically pass the parameters to the next page. If you want to pass some attributes, then depending on the need, they can be placed in one of the three scopes request, session or application.
my display page looks like this item name item price quantity xxxxxxx 19.00 user has to enter qty yyyyyyy 20.00 user has to enter qty like i have n no of rows this is the first page I have to send itemname,itemprice to next page database values and quantity is user value. For example if user enter qty for 10 items how we will send those items to the next page for further calculations. Thanks in advance