Konstantin, 

I think the problem here is that you're not using the Model2 paradigm,
which Webwork is based upon. It sounds like you are hitting the JSPs
directly, whereas, in Webwork, we would hit foo.action, which (because
*.action is mapped to the Webwork ServletDispatcher) would be handled by
Webwork, and the ActionContext would be automatically set up for you and
ready to access from ActionContext.getSession().

Jason

> -----Original Message-----
> From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, January 29, 2003 8:30 AM
> To: [EMAIL PROTECTED]
> Cc: webwork-devel
> Subject: Re: [OS-webwork] ActionContext clarification
> 
> 
> 
> > > What is correct way to obtain ActionContext
> > > which was initialized with HttpSession data if
> > there
> > > is
> > > HttpSession around?
> > 
> > I think ServletActionContext.getSession() works.
> 
> This method does not exists in current CVS version
> of webwork...
> 
> Another question: 
> It seems to me that ActionContext is stored as
> TreadLocal, is this map kept in synch with session
> contents?
> 
> 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! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to