• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iam getting previous output...!

 
bujji goud
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi...sir/madam..
In my running application...Iam getting the previously running output...and iam observing that session value is also increasing...i think the server is storing the previous sessions....
even though iam not giving any output it is giving the previous output if it runs again and again...!
 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server doesn't store the session. Session gets stored at the browser.

Can you explain a bit what you are trying to do?
 
bujji goud
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sir previously i tried to print the sysdate as output...using out.println();
and i got the answer...now i removed all the things just i want to get the database values but that browser is giving the previous date output even though i redeployed the application...and restart the system...but i observed that if i change the browser to firefox from IE (by closing IE) the session value in the tomcat manager is increased to 2,even iam using single browser ata time..
thanks in advance..
waiting for reply...
thanks.
 
Tarun Yadav
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by subodh gupta:
Server doesn't store the session. Session gets stored at the browser.

Can you explain a bit what you are trying to do?


That doesn't sound right to me. The server does manage the session; the browser only participates in a session by adding the session id to the requests.
 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I said session stored as per knowledge to HTTP.

If you have followed the procedure that you have mentioned i dont see any reason except from one your deployment method. are you usong any tool?

Do one thing go inside TOMCAT_HOME\work\Catalina\localhost dir find your deployed web-application delete this folder and deploy again or if you know or wanna about the jsp-to-servlet transaltion go inside your package hirarchy and check the .java file and see if it's matching your jsp.
 
bujji goud
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by subodh gupta:
I said session stored as per knowledge to HTTP.

If you have followed the procedure that you have mentioned i dont see any reason except from one your deployment method. are you usong any tool?

Do one thing go inside TOMCAT_HOME\work\Catalina\localhost dir find your deployed web-application delete this folder and deploy again or if you know or wanna about the jsp-to-servlet transaltion go inside your package hirarchy and check the .java file and see if it's matching your jsp.


Thanks sir...now i cleared my problem...its working..thanks for your cooperation...!
 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your are welcome.

And please do not use sir.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic