File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
500.jsp is out of date after changing content
Joined: Dec 02, 2013
Dec 02, 2013 10:33:31
7.0.47 in combination with IIS7 on Windows I defined an error page 500.jsp that way in web.xml
It works fine, when error 500 is thrown I see the content of 500.jsp.
But after changing the content of 500.jsp I still see the old content of 500.jsp.
The .java/.class files generated under Tomcat works are more or less the same date as the .jsp file.
Tomcat was also restarted several times.
-> okay, I always see the new content of 500.jsp
page throws an error 500 and I see the old 500.jsp
Any idea what it is ?
Joined: Jun 25, 2001
Dec 03, 2013 04:41:35
Welcome to the JavaRanch, Pakse!
1. Halt Tomcat.
2. Delete everything in the Tomcat "work" directory. Just for fun, also delete everything under the "temp" directory as well.
3. Restart Tomcat.
This usually will be sufficient to purge stale JSPs. If that doesn't help, you might have stuff in your client browser cache that needs to be flushed out.
An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: 500.jsp is out of date after changing content
page cannot be displayed error
Tomcat error HTTP Status 500 -(JSP page error (Unable to compile class for JSP )
Error logging/notification question
how to invoke servlet
JSP page error (Unable to compile class for JSP ) HTTP Status 500 -
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015