I am using Tomcat4.1.29 with Sun solaris 5.8. Operating system date is correct. But the taking by the Tomcat is wrong. its taking next day's date. How can i get correct date from tomcat. java.util.Date() in Servlet showing next day's date as current date.
Even in log files, created by tomcat while server startup,,, its showing wrong date . But i donot know where exactly tomcat picking this date. Even OS , applications out side of tomcat are Perfect. only Issue with applications running in this tomcat.
Joined: Jan 31, 2008
Anybody please help me in this. How can i overcome this issue? Can i get OS date in servlet? if yes , how can i?