SERVLET GET跟POST

SERVLET GET和POST为什么用get方式的时候用response.setCharacterEncoding(encoding)用post方式的时候用r

SERVLET GET和POST
为什么用get方式的时候用response.setCharacterEncoding(encoding);

用post方式的时候用request.setCharacterEncoding(encoding);

很好理解。

get是通过response从服务器拿信息.

post 是用request给服务器发信息.