• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets using Tomcat

 
singhdil
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 64993
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Singhdil",

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.

Thanks!
bear
Forum Bartender
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64993
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Bill
 
Eelco den Heijer
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic