Eighth Brother - Cool - Fourth Bullet

*、Cannot retrieve mapping for action /Caecp/complaintReviewAction

Check: Whether the jsp page uses html:form, and whether it is feasible to replace it with a form test

 

*、does not contain handler parameter named 'method' 异常

There is a method="post" configuration item missing in the form attribute

 

*, ORA-00911: invalid character problem and solution - java exception sql execution is normal

The reason is that the sql statement spliced ​​in java development adds a semicolon, haha

 

 *、550 Deliver to local user only

Server settings problem Only users specified by the server itself can send and receive emails

 

*, the difference between localhost access and IP or domain name access

When localhost is accessed (that is, the page is normal), the 360 ​​browser is in extreme speed mode;
360 browser is in IE compatibility mode when ip is accessed (that is, the page is abnormal).
Therefore, there will be a page disorder problem caused by incompatibility.

 

*, The environment variable is configured as jdk6, but the java version is displayed as jdk7

Oracle itself has a jdk setting, and it should be placed behind the java_home configured by itself
http://blog.csdn.net/u012062455/article/details/52776680

 

*, HttpClient.executeMethod(GetMethod) stuck problem

When httpclient initiates a request, it will freeze for no reason. The problem is caused by this sentence. The solution is to use HttpURLConnection to replace or upgrade the jar version of httpclient. The upgrade has a greater impact, so I use the first solution to solve the problem.

 

*, response.setHeader (If there is Chinese in the attachment, there will be a blank phenomenon)

The solution is:
new String("Field with Chinese".getBytes("utf-8"), "ISO8859-1");
The reason is: the http protocol must be iso8859-1 encoded during transmission
Quote: http://1358440610-qq-com.iteye.com/blog/2105583

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326173186&siteId=291194637