开发者

Request scope in JSF

Request scope in JSF: I want to store objects onto the instance variables of an MPB in request scope (in the business logic) and access them fron the JSP开发者_开发百科. But I find that the request gets killed before the MPBs getters are fired while rendering the page. I do not use a to invoke a redirect. Is there an option to persit the request object and its contents till the getters are fired from the page.


Yes.

Use @ViewScope instead.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜