Author: jholmes
Date: Tue Sep 18 08:52:26 2007
New Revision: 576956
URL: http://svn.apache.org/viewvc?rev=576956&view=rev
Log:
WW-2181 SessionAware documentation is misleading about unit testing
Modified:
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
Modified:
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
URL:
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java?rev=576956&r1=576955&r2=576956&view=diff
==============================================================================
---
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
(original)
+++
struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/interceptor/SessionAware.java
Tue Sep 18 08:52:26 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 {