exposed according to the semantics of the HTTP method, then the interface will have security and idempotent features , such as get and head requests are safe, no matter how many times the request does not change the server state. The, put, and delete requests are idempotent, regardless of how many times the resource is manipulated, and the result is always the same, and subsequent requests do not have more impact than the first time.The following is a list of typical uses of Get,delete,put and
Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java: Max) at Org.apache.catalina.core.ContainerBase.addChildInternal (Containerbase.java:895) at Org.apache.catalina.core.ContainerBase.addChild (Containerbase.java:871) at Org.apache.catalina.core.StandardHost.addChild (Standardhost.java:615) at Org.apache.catalina.startup.HostConfig.deployDirectory (Hostconfig.java:1099) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (Hostconfig.java:1621) at Java.util.concurrent.exec
normal; The request is complete.201 Normal; Immediately after the POST command.202 normal; Accepted for processing, but processing is not yet complete.203 normal; Part of the information-the returned information is only part of it.204 normal; No response-the request has been received, but there is no information to echo back.
3XX redirection
301 Moved-The requested data has a new location and the change is permanent.302 found-The requested data temporarily has a different URI.
Vm. swappiness0 may cause OOM in the latest kernel, and MySQL may be killed unexpectedly. please use RHEL/CentOS 6.4 and the MySQL Kernel updated. Note that vm. the default behavior of swappiness = 0 has been modified. if you continue to set vm. swappiness = 0, which may cause system memory overflow and cause MySQL to be killed unexpectedly.
In the previous MYSQL optimization three axes on LINUX, we recommend that you set vm. swappiness = 0. To avoid swap out MySQL server memory. In this way, L
Title, such as the head of the station
But not everyone, my test is normal, but the customer, the first successful upload, the 23rd one failed, and the fourth is a smooth upload, this is how it happened
I put $_files print_r out all normal, but the place of the thumbnail is the 23rd one will be wrong, is there wrong, I ask you greatly.
$src_x = imagesx($src);$src_y = imagesy($src);if($src_x > $src_y){$s_thumb_x=250;$s_thumb_y = intval($src_y / $src_x * 250);$thumb_x = 600; $thumb_y = intval($sr
Reprinted from: http://desert3.iteye.com/blog/1136548502 Bad Gateway:tomcat didn't start up.504 Gateway Time-out:nginx reported errors, usually nginx as a reverse proxy server, the connected application server such as Tomcat did not cause the corresponding302 (Temporary move) The server is currently responding to a request from a Web page in a different location, but the requestor should continue to use the original location for subsequent requests, and when 302 responds, the temporary URL is re
Web application that is not a server problem, but is running on the server. For example, my own personal website is written in ASP, which is responsible for dynamically generating HTML pages. During debugging, the bug code always causes my web server to return an HTTP status code of 500, which is a general indication of an internal server error. This code only has a problem, and HTTP cannot resolve the problem.1xx– Information Tips
"100″:continue
"101″:witchingprotocols
2xx– s
(header) data to the method parameters of the Processor function processing method;@RequestBody: The binding of the requested body (type conversion via Httpmessageconverter);@ResponseBody: The return value of the processor's function processing method as the response body (type conversion via Httpmessageconverter);@ResponseStatus: Defines processor function handling method/exception handler return status code and reason;@ExceptionHandler: Annotated declaration exception handler;@PathVariable: S
Redirection of HTTP 301,302,303,307 (RPM)(2012-12-11 11:55:04)reproduced
Tags: gossip
Category: Network
301 permanent redirection, which tells the client to be accessed from the new address later.302 as the standard of HTTP1.0, formerly known as moved temporarily, is now called found. Now using only for compatibility processing, including PHP's default location redirection is also 302.But HTTP 1.1 has 303 and 307 as a
, which should be used to get the request resource, 303 functions with 3,021 like, the difference is only 303 explicit client should use get access (many http/1.1 browsers do not understand 303, but everyone treats 302 as 303, Use GET request new URI)304 Not ModifiedIndicates that the client sends a request with a cond
domain of the response. Unless this is a HEAD request, the response entity should contain a hyperlink to the new URI and a short description. If this is not a GET or HEAD request, then the browser disables automatic redirection unless the user confirms it, because the requested condition may vary. Note: Although the RFC 1945 and RFC 2068 specifications do not allow the client to change the method of the request during redirection, many existing browsers treat the 302 response as a
Severe:error Configuring application Listener of Class Org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: Org.springframework.web.context.ContextLoaderListener at Org.apache.catalina.loader.WebappClassLoader.loadClass ( webappclassloader.java:1676) at Org.apache.catalina.loader.WebappClassLoader.loadClass (Webappclassloader.java : 1521) at Org.apache.catalina.core.DefaultInstanceManager.loadClass (defaultinstancemanager.java:415) at Org.apache . catalina.core.
instead of permanent. Note that the corresponding status information in HTTP1.0 is "Moved temporatily". When the status code appears, the browser can automatically access the new URL, so it is a useful status code. Note that this status code can sometimes be used with 301 substitutions. For example, if the browser mistakenly requests Http://host/~user(The trailing slash is missing), some servers return 301, and some return 302. Strictly speaking, we can only assume that the browser will automat
treated as a temporary alternative, not permanent. Note that the corresponding state information in the HTTP1.0 is "moved temporatily". When this status code appears, the browser can automatically access the new URL, so it is a useful status code. Note that this status code can sometimes be replaced with 301. For example, if the browser incorrectly requests Http://host/~user (a trailing slash is missing), some servers return 301, and some return 302. Strictly speaking, we can only assume that t
1. Description of the problem
After the HttpServlet request is received and logically processed, it is redirected to another web system across the domain, and the form data is submitted as a post.
2. Problem solving
This problem mainly addresses redirection, calling the HttpServletResponse object's Sendredirect () method, which is actually doing the following two things:
1. Set the status in the HTTP response header to 302;2. Set the location value in the HTTP response header to the specified U
URL.· 302-found is similar to 301, but the new URL should be treated as a temporary alternative, not permanent. Note that in the HTTP1.0
The status information should be "moved temporatily". When the status code appears, the browser can automatically access the new URL, so it is a
Very useful status code. Note that this status code can sometimes be replaced with 301. For example, if the browser incorrectly requests
Http://host/~user (a trailing slash is missing), some servers return 301, and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.