Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configured Tomcat-IIS , Servlet Reload Problem

 
Ganesh Anekar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I have configured Tomcat-IIS under NT , but my servlets are not getting reloaded ..
What could be the problem? Can any one guide me? is there in settings for Server.xml for page refresh?
Thankx in advance.
Ganesh
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the <Context> tag, in server.xml you have the reloadable attribute:
reloadable="true" should work.
Bill
 
Ganesh Anekar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankx for u r reply
I have already done that settings...is there any other settings?
pls tell ...
Thankx
Ganesh
 
Brett B Doehr
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It also depends on where your servlet classes are located. If they are .class files, store them in the/WEB-INF/classes directory relative to your HTML/JSP pages. If they are in .zip or .jar files, store them in the /WEB-INF/lib directory.
If they are in another directory that is in your CLASSPATH, they
will be found initially but will not be dynamically reloaded. (I know, I wasted a lot of time on this one. <sigh> )
--Brett.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic