diff --git a/src/main/java/com/aoapps/web/framework/WebPage.java b/src/main/java/com/aoapps/web/framework/WebPage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/aoapps/web/framework/WebPage.java
+++ b/src/main/java/com/aoapps/web/framework/WebPage.java
@@ -869,12 +869,12 @@ public abstract class WebPage extends PageServlet {
 
 	/**
 	 * Determines if this page equals another page.  By default, two pages
-	 * of the same classname are considered equal.
+	 * of the same class are considered equal.
 	 *
 	 * @see  #hashCode
 	 */
 	public boolean equals(WebPage other) {
-		return other.getClass().getName().equals(getClass().getName());
+		return this.getClass() == other.getClass();
 	}
 
 	/**
Comparing by Class object instead of name

This framework no longer supports dynamically reloading of servlets.