阅读背景:

获取GWT Web应用程序服务器端的刷新计数

来源:互联网 

I am working on converting the functionality of some JSP pages to GWT. I noticed that javax.servlet.http.HttpServletRequest request is an implied object in JSP, and one can obtain the client's refresh count by calling request.getParameter("refreshCount"). I noticed that one can also access this request object in GWT in the service implementation class (extends RemoteServiceServlet) for the client making an RPC call to this service class by calling getThreadLocalRequest(). However, I noticed that the request object has no parameters. How may I possibly get the refresh count of the calling client (through HttpServletRequest or otherwise)?I am working on converting the functionality of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: