1, post submission data is implicit, get is passed in the URL (can look at your browser's address bar), to pass some data that do not need to be confidential.
2, with get, the size of the transmitted data is limited (note that there is no limit to the number of parameters), 2K, and Post does not have this limit.
3, also useful get when in the servlet to use the Doget method, with post will use Dopost method. This is different from the Java point of view when working with Get and post in JSP.
4, there is a point to note oh, the way to get parameters by get method and by post way some differences:
Post:request.getParameter ("");
Get:request. QueryString ("");
< note: When submitted with Get, I also use Request.getparameter () to get the parameters passed, although the request.setcharacterencoding ("Utf-8") has been set, but the Chinese parameters have been garbled. But I did not use the latter way to get parameters, I was directly to post, Chinese display is normal. >
The session is best used for non-shareable global variables.
Use of MyEclipse DB Browser:
Create a new SQL file to execute the statement in MyEclipse.
JSP Learning Note One