在Servlet与Android客户端无法使用的AppEngine [英] Servlet unavailable in AppEngine with Android Client

查看:119
本文介绍了在Servlet与Android客户端无法使用的AppEngine的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下信息登录GAE的控制台:
POST / XXX HTTP / 1.1200 133 - Apache的HttpClient的/不可用(Java 1.4中)的gzip(GFE)

I am getting the following info log in GAE's console: "POST /xxx HTTP/1.1" 200 133 - "Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe)"

如果该servlet是不可用时,200被退回为什么我无法理解。我检查web.xml文件servlet映射,他们似乎罚款。还有什么可能会导致它。它甚至在GAE上的错误,或者是由于客户端错误。

I can not understand if the servlet is not available, why is "200" being returned. I checked web.xml file for servlet mapping and they seem fine. What else could be causing it. Is it even an error on GAE or is it due to client error.

推荐答案

字符串Apache的HttpClient的/不可用(Java 1.4中)是客户端的用户代理字符串。它不是一个错误 - 它是识别发送到服务器的客户端。在这种情况下,不可用可能是代替库的版本号的

The string "Apache-HttpClient/UNAVAILABLE (java 1.4)" is the client's user agent string. It's not an error - it's the identification the client sent to the server. In this case, 'UNAVAILABLE' is probably in place of the version number of the library.

这篇关于在Servlet与Android客户端无法使用的AppEngine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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