File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes accessing records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "accessing records" Watch "accessing records" New topic
Author

accessing records

deepak borole
Greenhorn

Joined: Nov 13, 2005
Posts: 25
hi frnds,
wat i am doin is tat...i am selectin few records of table1 from page1 and then copying those in new table from a servlet which is called after tat page1....n later i am displayin those records of new table on next page....but after submitting from page1 1st time the records are not getting displayed but if i do back and agen press submit button then the records are gettin displayed.


Winners Dont Do Different Things, They Do Things Differently !!!
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
How are you doing all that? I mean the flow of your activities.

Are you using request object to bind the data from page 1 to page 2? Or are you doing something else?
deepak borole
Greenhorn

Joined: Nov 13, 2005
Posts: 25
ya i am using request.getParameter()
deepak borole
Greenhorn

Joined: Nov 13, 2005
Posts: 25
wat i m doing is that from page1 i m using query 2 access the records from main table and writing those in new table .. after i say submit 1ce the records are written in new table but they cant be displayed on page2 but if i go back and do submit again then the records get displayed on page2....y its not working when i submit it for 1st time.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by deepak borole:
wat i m doing is that from page1 i m using query 2 access the records from main table and writing those in new table .. after i say submit 1ce the records are written in new table but they cant be displayed on page2 but if i go back and do submit again then the records get displayed on page2....y its not working when i submit it for 1st time.


Are you talking about Databse Tables or HTML Tables?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing records