aspose file tools*
The moose likes Tomcat and the fly likes iam getting previous output...! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "iam getting previous output...!" Watch "iam getting previous output...!" New topic
Author

iam getting previous output...!

bujji goud
Greenhorn

Joined: Sep 21, 2007
Posts: 12

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

Joined: Jul 23, 2007
Posts: 203
Server doesn't store the session. Session gets stored at the browser.

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


http://subodh-gupta.blogspot.com
bujji goud
Greenhorn

Joined: Sep 21, 2007
Posts: 12

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

Joined: Sep 20, 2007
Posts: 134
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

Joined: Jul 23, 2007
Posts: 203
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

Joined: Sep 21, 2007
Posts: 12
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

Joined: Jul 23, 2007
Posts: 203
Your are welcome.

And please do not use sir.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iam getting previous output...!
 
Similar Threads
Why this output? (in Java 5.0)
usage of if condition
A Gud Question on Inner class
Authentication in jsp
Use of System.err instead of System.out in printing error messages