开发者

server push jsp

开发者 https://www.devze.com 2023-03-09 11:57 出处:网络
There are so many option make a server push application with reverse AJAX and DWR lib. But all they are with AJAX based application. I want build simple server push application with JSP which will pus

There are so many option make a server push application with reverse AJAX and DWR lib. But all they are with AJAX based application. I want build simple server push application with JSP which will push the message to client. It will be g开发者_如何学编程reat if someone give code snippet.


HTTP wasn't designed for server-side push. If you want that, you'll need to do it from the client with Javascript or some other technology like Flash or Silverlight.

There are a lot of frameworks out there that "hide" the client side code though. Look at Apache Wicket for example, or Google Web Toolkit, vaadin, ... and many others.

0

精彩评论

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

关注公众号