File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Can't get latest version of  jsp in server !!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Can Watch "Can New topic

Can't get latest version of jsp in server !!!!

neo cs

Joined: Jan 21, 2002
Posts: 2
I am able to call .jsp file from my system ONLY ONCE (the very 1st time), after its creation. Our JSP-server is TOMCAT-Server 3.2.1 which is located in another machine(our network server -Win2000 ).
If I modified the .jsp file from my system & downloaded into TOMCAT-Server 3.2.1, I am not getting the refreshed/latest version. I don't know why my jsp-server is not refreshing it.
All the PCs are getting the old version of JSPs.
I have tried all the solutions & means from tips in this website.
Please assist me urgently. Your help will be much appreciated. Thanks in advance.
Best regards,
Tina Coleman
Ranch Hand

Joined: Dec 12, 2001
Posts: 150
I know that there's a setting in Tomcat in which it won't recompile (gives better performance on sites where the pages aren't expected to change - Tomcat doesn't have to check date/time stamps for recompilation). Check to see if that setting is on. (I remember that it exists, though I'm having trouble finding it in the documentation at the moment.) Also see the ReloadInterceptor documentation at
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
search for the server.xml file.
there search for the service tag.
inside add this tag:
<DefaultContext reloadable="true"/>
thats it
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
your name deosn't agree with the javaranch guidelines. Please take a moment and re-register after reviewing the guidelines at
thanks for your cooperation.
- satya

Take a Minute, Donate an Hour, Change a Life
neo cs

Joined: Jan 21, 2002
Posts: 2
I think I got a solution. Check your PC system time & your TOMCAT server system time. If your TOMCAT server system time is much forward than your PC system time. The server will always run the server JSP copy (old copy) because PC JSP copy is much earlier due to the timestamp checking by TOMCAT server.
Assume that development is done on PC & download into TOMCAT server to compile.
Anyway, thanks a lots, folks
I agree. Here's the link:
subject: Can't get latest version of jsp in server !!!!
It's not a secret anymore!