Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PageData/Servlet problems

 
Jason Stockmann
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, very confused here...I am trying to pass 2 different resultsets from a class into a jsp to display onscreen, however, when I try to do 2 pageData with each having their own resultset, i get this:
JdbcVector:index out of range index 2 >=2
It looks like it gets through the class, and even the first pageData and resultset, but once it tries to obtain the 2nd rs, it freaks out
Any ideas?? Thanks!
Jason
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jason
Can you post your code that passes them and the code that processes them?
Thanks
 
Jason Stockmann
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ummm, well, unfortunately, no. Kinda not allowed to. I know this causes an issue, but I gotta follow rules, you know? So, I guess if anyone just has some ideas, that would be great.
Thanks,
Jason
 
sim sim
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jason,
If u r using a for loop, then check out the initialization and condition, there might be a problem. If u can post only the for loop part(i am assuming that u r using a loop), it would be more helpful.
 
Jason Stockmann
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I got it figured out...I was closing the DBConnection to early, that's all...thanks for those who helped!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic