You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kirby Vandivort <kv...@ks.uiuc.edu> on 2003/03/25 19:07:32 UTC
scaffold ProcessBaseBean and sessions
I'm trying to write a webapp using scaffold, where I set my action to point
to:
type="org.apache.struts.scaffold.ProcessAction"
parameter="my.class.that.extends.ProcessBaseBean"
and I'm wondering how, in the execute() method of the ProcessBaseBean
that I can get session information. In particular, I have a user
object stored in the session that I need for the execute(). It seems
as though I probably wouldn't want to tighten the connection between
the controller and the bean by making the session info available
directly, but I'm not sure how to make the jump.
>From looking at the cvs code, it looks like ProcessAction has the
ability to expose the session, but it is still a bit nebulous as
to how everything works together.
Thanks,
--
Kirby Vandivort Theoretical and Computational Biophysics
Email: kvandivo@ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org