jfinal如何查看post还是get请求?

controller里面getRequest().getMethod()就行了。

值为 'GET' 或者 'POST'

05-11 20:50