Beijing Recruitment PHP Senior programmer 3-9k Five Insurance One gold
Beijing International Investment Co., Ltd.
Company Type: Group
Company size: 300 people
Company homepage: http://www.7e73.com/
Interested parties can send their resumes to e-mail: dongqingzhi@7e73.com
Work Location: Beijing
Working experience: 1-3 years
Nature of work: full-time
Treatment: 3000-9000 (depending on personal ability and project experience) five Insurance one
analyze your own "context environment ".
= ======================================2. What information is required to determine the root cause of garbled characters in the project.A. operating system used by developersB. J2EE container name and versionC. Database Name, version (exact version), and JDBC driver versionD. garbled source code (such as system out or JSP page. If it is in JSP, it is also important
, so to get the JSP source code or destroy the server than to trample on an ant is much easier.
Iv. Summary of the full text
Through the above we can see that JSP and the same as the ASP still have a lot of security problems, objectively speaking, the server software developers in the internal testing is not possible to find all the bugs in the system, even if
request, not the header part. When a GET request is sent, the parameter is placed behind the URL, not in the body. Therefore, the request is sent at this time. setcharacterencoding ("GBK") does not play a role. If it is changed to post, there will be no problem. After testing,
The solution is:1) Open the Tomcat server. xml file, locate the block, and add the following line:Uriencoding = "GBK"The complete i
Solution to tomcat memory overflow caused by a JSP page
Today, my colleagues in the New Energy testing group asked me to see a strange phenomenon. A tomcat application has only one simple jsp page, and the jsp page does not have any java code (you want to use this
Solution to JSP include garbled Problem
JSP include files may sometimes contain garbled characters. The following methods can be modified after testing.
In the first case, you can modify the file to be included:
1. When JSP include dynamic files (
The company's website system used in the middle is jboss7.1.1 Final, because some data and service testing environment does not have, it is unavoidable to debug some JSP pages in the test environment, found the JBoss application downloaded from the JBoss community has a problem, the new JSP page will be deployed in real-time, The modified
The company's website system used in the middle is jboss7.1.1 Final, because some data and service testing environment does not have, it is unavoidable to debug some JSP pages in the test environment, found the JBoss application downloaded from the JBoss community has a problem, the new JSP page will be deployed in real-time, The modified
encoding of Get and POST request data is only affected by the content-type of the htmlGet/post read of request data:
Reading the data passed to the servlet via post requires the correct characterencoding to be set for ServletRequest to be read.
Reads data passed to the servlet via get, which is read correctly only if the uriencoding of the connection element in the Tomcat configuration file server.xml the same encoding as the data, or transcoding is required.
why get and post
Recently, jQuery was used to write the options of the drop-down box to move left and right. It cannot be used in jsp, after testing, we finally found a solution. Here we will share with you the code to move the option values left and right in the recently used jQuery drop-down box:
The Code is as follows:
Untitled document
Recently, jQuery was used to write the options of the drop-down box to move left and right. It cannot be used in jsp, after testing, we finally found a solution. Here we will share with you the code to move the option values left and right in the recently used jQuery drop-down box:
The Code is as follows:
Untitled document
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.