diff --git a/projects/samskivert/src/java/com/samskivert/webmacro/ContextPopulator.java b/projects/samskivert/src/java/com/samskivert/webmacro/ContextPopulator.java deleted file mode 100644 index 9e4e7845..00000000 --- a/projects/samskivert/src/java/com/samskivert/webmacro/ContextPopulator.java +++ /dev/null @@ -1,30 +0,0 @@ -// -// $Id: ContextPopulator.java,v 1.1 2001/02/15 01:44:34 mdb Exp $ - -package com.samskivert.webmacro; - -import org.webmacro.servlet.WebContext; - -/** - * The context populator is called upon to populate the WebMacro web - * context, prior to invoking a particular WebMacro template upon it to - * generate a response page. The populator takes the place of the servlet - * in the standard WebMacro architecture and should perform all of the - * logic involved in handling a particular request. - * - * @see DispatcherServlet - */ -public interface ContextPopulator -{ - /** - * Perform any necessary computation and populate the context with - * data for this request. Any exceptions that are thrown will be - * converted into friendly error messages using the exception mapping - * services. - * - * @param context The WebMacro context in scope for this request. - * - * @see ExceptionMap - */ - public void populate (WebContext context) throws Exception; -} diff --git a/projects/samskivert/src/java/com/samskivert/webmacro/DispatcherServlet.java b/projects/samskivert/src/java/com/samskivert/webmacro/DispatcherServlet.java index 8b10de7d..9264cf29 100644 --- a/projects/samskivert/src/java/com/samskivert/webmacro/DispatcherServlet.java +++ b/projects/samskivert/src/java/com/samskivert/webmacro/DispatcherServlet.java @@ -1,5 +1,5 @@ // -// $Id: DispatcherServlet.java,v 1.2 2001/02/16 03:27:54 mdb Exp $ +// $Id: DispatcherServlet.java,v 1.3 2001/03/01 21:06:22 mdb Exp $ package com.samskivert.webmacro; @@ -9,7 +9,11 @@ import java.util.HashMap; import java.util.Properties; import java.util.StringTokenizer; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; + import javax.servlet.ServletConfig; +import javax.servlet.ServletContext; import javax.servlet.ServletException; import com.samskivert.util.ConfigUtil; @@ -22,12 +26,12 @@ import org.webmacro.servlet.*; * in the following ways: * *