开发者

Is it possible to get a session variable for a jsp without an ActionBean?

I 开发者_如何学Gohave map stored in session (MyActionBeanContext) that needs to be retrieved for header.jsp

However, since header.jsp is embedded on many other jsp's, it is not connected with any ActionBean so I can't simply call ${actionbean.context.map}

Is there a way at getting the map from my header.jsp? If not, what would be the best way to proceed?

Thanks!


I found out the answer is to use ${sessionScope.map}

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜