Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes i am facing jsp update problem in linux tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "i am facing jsp update problem in linux tomcat server" Watch "i am facing jsp update problem in linux tomcat server" New topic
Author

i am facing jsp update problem in linux tomcat server

Jagoutar singh mourya
Greenhorn

Joined: May 06, 2008
Posts: 1
please tell me the solution about the following problem.
the problem is that when i m updating the jsp but the update in jsp does not reflected in browser...
this is because there is class file exit already of that jsp, due to once compilation.
if i m deleting the class file of that jsp then it reflect the updates....
how can i solve this problem please tell me..
i think there is some configuration changes may be happened in tomcat...
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi there,

Is your JSP in a WAR or in a exploded WAR directory structure? What version of Tomcat are you using?

Indeed Tomcat compiles your JSP and uses that compiled class, see this link to see how you can make it always pick up your new changes.

Hope that helps!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: i am facing jsp update problem in linux tomcat server
 
Similar Threads
HTTP Status 404 - Servlet servlet1 is not available
how to call java class in jsp
Updating timestamp field
cannot find class javax.servlet.tagext.*;
eclipse tomcat context reloading on each jsp save :(