Unable to see current JSP files in browser

Hi,

Sorry for this, I know this is not a new problem, and trust me I've tried almost everything suggested regarding other issues I've found in this forum. Well I'll start by explaining the problem, I've just started working for a company and they have built a custom app in JSP for a client.

However there is a bug which I have gone in and fixed in a particular file, and as an example I just want to output a generated variable to the screen. Its just the 4-digit year is all.

I have deleted the old JSP files from the server, I have replaced them with the new files. I have deleted both the .java and .class files of theses files from the Tomcat Work directory and have refreshed. I have shutdown and restarted tomcat and the corresponding files have been recompiled correctly. When I view the .Java file, I can see the changes I have made, it was only a couple of lines of codes. I have cleared the cache of my browser and refreshed, and still the server is returning the Old JSP file to me.

And for the life of me, I cannot figure out where the problem is. So I was wondering if anyone has had a similar problem and would be able to offer me a solution of some kind.

Thanks in advance,

Harry

P.S. Its Tomcat 5.0, not upgrading as I don't know what depends on it, so I don't fancy being fired after 2 weeks.

[1371 byte] By [harrymcka] at [2007-11-27 7:59:59]
# 1
Sometime my IBM RAD used to behave this way. I just shut down the machine and restart RAD to resolve this issue.
skp71a at 2007-7-12 19:41:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I would do that as a last resort, as it happens to be a client server, I don't think they'd appreciate me needing to reboot a Unix server during the day. Would anyone have any other suggestions?

I just removed the JSPs from the live server, and refreshed the page and Tomcat could not find the JSPs, so I'm sure I have the correct directory. I then made sure the .java and .class files were deleted from the work directory, uploaded my new files (again) and hit refresh... and yet again I was served the same code as always, when I view source it still shows me the old source code even though the JSP file and compiled java files and class show that the new file should be shown, not the old one.

harrymcka at 2007-7-12 19:41:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
JSP File is compiled everytime you modify it, i think there is cache happening somewhere, browser or proxy.....anyway try to check this: http://forum.java.sun.com/thread.jspa?threadID=652758&messageID=3923425
JavaPaladina at 2007-7-12 19:41:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I've tried that thread before, and unfortunately it did not help resolve my issue. I've definitely cleared all the cache I can think of, both in the browser and in tomcat, so I'm unsure of how to proceed.
harrymcka at 2007-7-12 19:41:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...