开发者

Django Messages analogue in Java

Is there analogue of Django Messages Framework (or RoR flash messages) in Java? http://docs.djangoproject.com/en/dev/ref/contrib/message开发者_开发知识库s/

I want to show a message for user one time.


Using Grails, as an example, it is easily possible using the flash scope (like this question denotes : Grails flash scope).

However, notice that any framework would allow you to do that, as that kind of scope is simply an extension of the request : by putting your message in the request attributes, you'll have it displayed only for the currently processed request.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜