--- adrian sf <[EMAIL PROTECTED]> wrote:
> 
> Is there a different between :
>
ServletActionContext.getRequest().getSession().setAttribute("criteria")
> ActionContext.getSession.put("criteria")
> 
> I don't see much difference between this two.
> Hopefully somebody can
> elaborate more on the difference. When should I use
> the ServletActionContext and 
> when should use the ActionContext for storing the
> information?

You have ServletActionContext inly if you run in 
servlet environment.  But webwork can be run as well
outside servlet container.  -

in this case only thing you get is ActionContext.
It's your choice whether you tie your code to servlet 
container

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to