Author: jholmes
Date: Tue Sep 18 08:53:17 2007
New Revision: 576957

URL: http://svn.apache.org/viewvc?rev=576957&view=rev
Log:
WW-2181 SessionAware documentation is misleading about unit testing

Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java?rev=576957&r1=576956&r2=576957&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
 Tue Sep 18 08:53:17 2007
@@ -26,10 +26,10 @@
 /**
  * Actions that want access to the user's HTTP session should implement this 
interface.<p>
  * <p/>
- * This interface is only relevant if the Action is used in a servlet 
environment.<p>
+ * This will give them access to a Map where they can put objects that can be 
made available
+ * to subsequent requests.<p/>
  * <p/>
- * 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 {


Reply via email to