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
This commit is contained in:
James Holmes
2007-09-18 15:53:17 +00:00
parent 415377c10f
commit 895682acd0
@@ -26,10 +26,10 @@ import java.util.Map;
/**
* 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 {