File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing records

 
deepak borole
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya i am using request.getParameter()
 
deepak borole
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic