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 {