當我將我的事件的xml文件發佈到谷歌的服務器時,有時我會收到下面的html,我很困惑它爲什麼發生,但有時它是確定的。任何人都可以幫助我?錯誤:無法訪問您請求的日曆
是否由連接錯誤引起?或者令牌無效?或者是什麼?
<html><head><meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>Error</title>
<style type="text/css">body {font-family: arial,sans-serif}</style></head>
<body text="#000000" bgcolor="#ffffff"><table border="0" cellpadding="2" cellspacing="0" width="100%"><tr><td rowspan="3" width="1%" nowrap><b><font face="times" size="10"><font color="#0039b6">G</font> <font color="#c41200">o</font> <font color="#f3c518">o</font> <font color="#0039b6">g</font> <font color="#30a72f">l</font> <font color="#c41200">e</font></font> </b></td>
<td> </td></tr>
<tr><td bgcolor="#3366cc"><font face="arial,sans-serif" color="#ffffff"><b>Error</b></font></td></tr>
<tr><td> </td></tr></table>
<blockquote>Cannot access the calendar you requested</blockquote>
<p></p>
<div style="background:#3366cc; width:1px; height:4px"></div></body></html>
感謝您的回覆......我已經解決了這個問題。 – xuyao
這是因爲java中的HttpClient。重定向時,它會丟失所有的帖子數據。 – xuyao