Hi, In the Struts 2 docs, it's recommended to implement SessionAware for accessing session within Action, but looking at some Webwork documentation, http://wiki.opensymphony.com/display/WW1/SessionAware+Actions - it seems to convey the opposite message .
Please clarify : 1. Why accessing via ActionContext is not advisable ? 2. In SessionAware API doc it's said " 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." -- how is it tied to servlet env, since we are not having any HTTP-specific code in the Action but just a plain setSession(Map map) method? Thanks, Joseph