tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Tong <>
Subject Classes are reloaded automatically even when reloadable is not set
Date Tue, 05 Oct 2004 03:41:16 GMT

I'm using Tomcat 5.0.28 on Win98. I've created a very
simple web app consists of just two java files:

public class HelloServlet extends HttpServlet {
	protected void doGet(
		HttpServletRequest request,
		HttpServletResponse response)
		throws ServletException, IOException {
		PrintWriter writer = response.getWriter();

public class Biz {
	public static String getMsg(){
		return "Hello4!!!!!";

The context is NOT marked as reloadable. But if I change
the string returned by getMsg eg:

public class Biz {
	public static String getMsg(){
		return "Hello5!!!!!";

and then reload the page in a browser, the updated message
is displayed. Any idea why this is happening?


Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified
Manager of IT Dept, CPTTM
Authorized training for Borland, Cisco, Microsoft, Oracle, RedFlag & RedHat

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message