?
Solved

JSP Page Cache

Posted on 2003-03-14
5
Medium Priority
?
222 Views
Last Modified: 2010-04-01
I am using Tomcat for running JSP. When ever I make changes in the JSP page, after refreshing the page the changes are not updated.  Pls help me.
0
Comment
Question by:rajesh_kg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 4

Expert Comment

by:thanassis
ID: 8135270
if you recomplile the javabeans you need to restart tomcat
(unless you use ant)
0
 
LVL 3

Expert Comment

by:paskal
ID: 8135477
If you make changes to a (jsp)file that is statically included Tomcat won't notice the modification. You've to 'touch' the main jsp also, so that's file timestamp is also changed.
Of course this will only solve your problem if your using anything like '<%@ include file="somefile" %>'.
0
 
LVL 92

Expert Comment

by:objects
ID: 8139568
If the last mod date on jsp file is later than for the class file (in the work dirsectory) then the jsp will get recompiled (unless you have disabled this in your web.xml).
Except for includes as mentioned above.
0
 

Accepted Solution

by:
manz earned 150 total points
ID: 8176328
Try to do this
- Shutdown tomcat.
- Delete all files in subdirectory "work" in <tomcat_home> path.
- Start your tomcat and try again.
0
 
LVL 16

Expert Comment

by:Kiran Paul VJ
ID: 12572514
hi rajesh_kg  and manz

this post helps me to solve the refreshing problem of my tomcat server.

thanks for the work.

kiranvj
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question