• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

read un complete data from session attribute

 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ;)
reply
    Bookmark Topic Watch Topic
  • New Topic