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 read un complete data from session attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "read un complete data from session attribute" Watch "read un complete data from session attribute" New topic
Author

read un complete data from session attribute

hassan ali
Ranch Hand

Joined: Apr 23, 2006
Posts: 127
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

Joined: Feb 24, 2006
Posts: 6661
    
    5

incomplete data or incomplete date ? Can you please give us more details about your problem


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
hassan ali
Ranch Hand

Joined: Apr 23, 2006
Posts: 127
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

Joined: Mar 22, 2000
Posts: 12792
    
    5
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 ;)
 
GeeCON Prague 2014
 
subject: read un complete data from session attribute