D
dharshanav
Hi,
I'm in the process of refactoring a web application (business logic in
the action classes), which has lots of references to httpservletrequest
and httpsession.
I'm planning to wrap the request and session variables through two
static classes, containing threadlocal variables, and ititialising it
in through a filter to prevent the code from breaking during the
refactor process.
Is it a good idea to do this?
Thanks,
I'm in the process of refactoring a web application (business logic in
the action classes), which has lots of references to httpservletrequest
and httpsession.
I'm planning to wrap the request and session variables through two
static classes, containing threadlocal variables, and ititialising it
in through a filter to prevent the code from breaking during the
refactor process.
Is it a good idea to do this?
Thanks,