Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

read un complete data from session attribute

 
hassan ali
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have servlet read from DB and set result at vector and put it in session attribute to jsp that read it and print it

but this view does takes 10 sec on my computer
and on hosting server

it shows date un complete what is do you thing it wrong
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
incomplete data or incomplete date ? Can you please give us more details about your problem
 
hassan ali
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
this more details
1 this account application for small company
2 i read from account table in DB all accounts in vector
3 for each account i send it to method to get it balance at (forexample 1-1-2006) then another method to get it balance at (31-12-2006)
and set this data at vector and continue that for each loop (all in servlet and javabeans)

4- set this vector into session attribute then redirct to jsp
5- jsp read this attribute and print it.

but in my pc it show correctly in 10
but in hosting it uncomplete
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13044
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say it is time for some diagnostic System.out.print or logging statements at each step in this process.

The crystal ball says you are getting an exception partway through this process and the exception is not being reported / logged correctly.

Bill ;)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic