我用CHttpConnection以post的方式连接web服务器
m_HttpServerConn = m_ConnectSession.GetHttpConnection(strServerName,nPort); 
m_HttpFile = m_HttpServerConn->OpenRequest(CHttpConnection::HTTP_VERB_POST, 
strObject, NULL, 1, NULL, NULL, DWHTTPREQUESTFLAGS); 
CString strHeaders = _T("Content-Type: application/x-www-form-urlencoded"); 
char form[] = "isConnected=true";      //post发送的布尔型参数。 
m_HttpFile->SendRequest(strHeaders,(LPVOID)form,“form的长度”); 
DWORD dwRet; 
m_HttpFile->QueryInfoStatusCode(dwRet); 在服务端调试过程中发现服务端的对应isConnected参数为false,
请问我的参数应该怎么设置,是不是我post的数据格式有问题。我的web应用服务器是用tomcat。