diff options
Diffstat (limited to 'velocity-engine-core/src/main/java/org/apache/velocity/app/event/implement/IncludeNotFound.java')
-rw-r--r-- | velocity-engine-core/src/main/java/org/apache/velocity/app/event/implement/IncludeNotFound.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/app/event/implement/IncludeNotFound.java b/velocity-engine-core/src/main/java/org/apache/velocity/app/event/implement/IncludeNotFound.java index eb39d8a7..fcc8f663 100644 --- a/velocity-engine-core/src/main/java/org/apache/velocity/app/event/implement/IncludeNotFound.java +++ b/velocity-engine-core/src/main/java/org/apache/velocity/app/event/implement/IncludeNotFound.java @@ -35,14 +35,11 @@ import org.slf4j.Logger; * * <P>By default, the name of the replacement page is "notfound.vm", however this * page name can be changed by setting the Velocity property - * <code>eventhandler.include.notfound</code>, for example: - * <code> - * <PRE> + * <code>eventhandler.include.notfound</code>, for example:</p> + * <pre><code> * eventhandler.include.notfound = error.vm - * </PRE> - * </code> - * </p><p> - * The name of the missing resource is put into the Velocity context, under the + * </code></pre> + * <p>The name of the missing resource is put into the Velocity context, under the * key "missingResource", so that the "notfound" template can report the missing * resource with a Velocity reference, like: * <code>$missingResource</code> |