It's not a secret anymore!
The moose likes Tomcat and the fly likes Servlets using Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlets using Tomcat" Watch "Servlets using Tomcat" New topic

Servlets using Tomcat


Joined: Jun 29, 2002
Posts: 5
I am using tomcat for servlets. When ever I recompile my servlet it does not reflect in browser the changes I made in updated version.I had make changes in server.xml also relodable="true" but all in vain.
Any body know how to load the updated version of servlets.
At present I am restarting the server again and again
Thanks for help.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63350


We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63350

Since this is more about Tomcat than Ant, I'm moving this along to the Tomcat forum.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
Personally I use the Management Application - docs are included with your tomcat installation. For security reasons, you have to specifically create a user with the management role.
Also - watch out for caching by your browser, your servlet may be reloading but the browser shows a cached page.
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
are you copying the servlet classes to an expanded war directory?
Or are you copying the war file to an auto-deploy directory?
And which version are you using? 4 or 5?

== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
I agree. Here's the link:
subject: Servlets using Tomcat
It's not a secret anymore!