我向我的AppEngine服務器發送POST請求。 HttpServletRequest的說我:AppEngine:如何查看來自POST請求的內容
POST /connexionDeconnexion HTTP/1.1
User-Agent: Java/1.6.0_20
Host: localhost:8888
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 25
我已經派了世界「HelloHelloHelloHelloHello」,根據內容長度是正確的。但是,我不知道如何恢復它。 你能解釋我嗎?
感謝您的回答。 如果我發送了此字符串: writer = new OutputStreamWriter(conn.getOutputStream()); \t \t writer.write(「HelloHelloHelloHelloHello」); 什麼是參數? 使用調試模式時,_parameters字段爲空。這是正常的嗎? – g123k 2011-01-24 09:44:38
檢查更新.............. – 2011-01-24 09:48:17