FacesServlet Servlet 3.0异步支持 [英] FacesServlet Servlet 3.0 Async Support

查看:148
本文介绍了FacesServlet Servlet 3.0异步支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JSF 2.0中的FacesServlet是否支持Servlet 3.0异步功能?

Does the FacesServlet in JSF 2.0 support the servlet 3.0 async features?

推荐答案

不,其简单原因是JSF 2.0是使用

No, with the simple reason that JSF 2.0 is designed with Servlet 2.5 in mind.

然而,JSF 2.1依次使用 Servlet 3.0 设计请记住,但是它没有利用新的异步功能,原因可能很简单,就是根本不需要它.您可以得到的最接近的是第三方组件库(如RichFaces,PrimeFaces或IceFaces)提供的ajax poll/push.

JSF 2.1 in turn is however designed with Servlet 3.0 in mind, but it does not utilize the new async features, perhaps with the simple reason being that there's just no need for it. The closest what you can get is ajax poll/push provided by 3rd party component libraries like RichFaces, PrimeFaces or IceFaces.

这篇关于FacesServlet Servlet 3.0异步支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆