【发布时间】:2012-07-16 13:04:48
【问题描述】:
以下是我的代码结构
Filter A{
Helper B() // Call to Helper B
int a= HelperA.function();
}
像这样有多个帮助类和多个函数调用
Helper B{
// Set the attributes in here Value in here
}
HelperA{
function(){
// Using the Session values
}
}
我无法说明在这种情况下如何使用会话属性表示法
Spring 框架中是否有一个属性可以设置会话值并且可以从 Spring 应用程序的任何部分访问 函数调用太多,更改所有方法的签名会很繁琐
【问题讨论】: