Hi all,
Leons posting about the scopes reminded me of something I have been meaning to 
post.

My application is organized into logical modules, such as purchasing,banking, 
credit , shoppingcart etc.
There are some variables that we have to use within a module.So,we  added a new 
scope to our application, which is called 
"cachemanager" scope. We made changes in org.apache.struts.util.RequestUtils 
and other classes, so that we can store attributes in "cachemanager" scope. The 
variables retain their life within a module,so as long as the user is browsing 
the purchasing module for eg. from /purchasing/purchase_step1.jsp to 
/purchasing/purchase_step2.jsp ,the variable retains its life, but as soon as 
the user goes from /purchasing/purchase_step1.jsp to 
/shoppingcart/choose_1.jsp, the variables in cachemanager scope are 
cleared.This works for all the struts tags as well.

Can struts choose to implement something like this;I am sure this should be a 
very common requirement.

Thanks
Rahul





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to