$this->getRequest()->isPost() return false
问题 I'm working on an existing code who the last developer have created a form but without using a "$form", and the code is: public function indexAction() { ....... $objRequest = $this->getRequest(); var_dump($objRequest->isPost()) ==> all time return false if ($objRequest->isPost()) { $postedData = $objRequest->getPost(); $inputData = new Zend_Filter_Input($this->filters, $this->validators, $objRequest->getPost()); $params = $this->getRequest()->getParams(); if ($inputData->isValid()) { .....