From 895682acd01f0f51a97ac6304a7529347cc4bf02 Mon Sep 17 00:00:00 2001 From: James Holmes Date: Tue, 18 Sep 2007 15:53:17 +0000 Subject: [PATCH] WW-2181 SessionAware documentation is misleading about unit testing git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@576957 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/struts2/interceptor/SessionAware.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java b/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java index 1b2f3155e..8cbc291e1 100644 --- a/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java +++ b/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java @@ -26,10 +26,10 @@ import java.util.Map; /** * Actions that want access to the user's HTTP session should implement this interface.

*

- * This interface is only relevant if the Action is used in a servlet environment.

+ * This will give them access to a Map where they can put objects that can be made available + * to subsequent requests.

*

- * Note that using this interface makes the Action tied to a servlet environment, so it should be - * avoided if possible since things like unit testing will become more difficult. + * Typical uses may be cached user data such as name, or a shopping cart. * */ public interface SessionAware {