struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James A. Hillyerd" <>
Subject RE: Session management for cached resources
Date Fri, 04 Oct 2002 17:20:31 GMT
On Wed, 2002-10-02 at 19:14, Andrew Hill wrote:
> Im doing something rather like this, only I called it an "OperationContext"
> which comprises a hashtable of attributes and an id to store it under in the
> session (passed in the request). I simply overrode the RequestProcessor so
> it knew to look for an actionform in the OperationContext first if the form
> scope is session.
> Works quite nicely.

That sounds pretty close to what I want to do.  Which version of Struts
are you running?  I'm still on 1.0 right now.

Something else I was considering was to use a naming convention like
"", and then have a utility method that would iterate
through the session and remove "mymodule.*".  Not quite as elegant as
your solution though. =)


[]  James A. Hillyerd <> - Java Software Engineer
[]  PGP 1024D/D31BC40D F87B 7906 C0DA 32E8 B8F6 DE23 FBF6 4712 D31B C40D

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message