Install Apache+php+jsp+mysql under Windows2003
First, PHP
Current version 4.3
1. Will php.ini-dist rem be php.ini,copy to winnt,copy Php4ts.dll to Winnt/system32, no need to copy or change other settings.
2. Php. Ini:
Register_globals = Off--> on
JSP connection oracle8/8i/9i database (in thin mode)
This class is used to load the driver, all of its members are static members, so there is no need to instantiate it in the program and access it directly through the class name.The DriverManager
The solution is as follows:You can use java.net. URLEncoder. encode () to encode the Chinese characters to be passed.A. Transcode the parameter before passing the parameter: java.net. URLEncoder. encode (param );Use the statement java.net.
Obtain the values value of the check box from the JSP page, store the value in the array by defining the array, and display itThe simplest is The code is as follows:Copy code String strLove = "";String [] strLoves = (String []) request.
I. Program description1. Database tutorial: mysql tutorial2. Development environment: tomcat7.0 + windows7 + myeclips tutorial e9.03. Solve the problem: solve the problem of Chinese garbled characters in the jsp tutorial.II. Basic processIII.
Configure the jsp environment in linux$180★Diamond reputation★Xinnet domain name registration Chinese. cn Chinese. China★Diamond reputation★Xinnet domain name registration Chinese. cn Chinese. China Today, I have successfully configured the JSP
1. 〃〉Define characters of the content displayed on the page;This is the most common usage of META. When creating a webpage, you will see it in pure HTML code. Its function is to define the language of your webpage. When a visitor browses your
4. Try to write the first sender programWe have already introduced JavaMail. Next we can try to write our own program.First, we should first write an HTML program index.htm for writing mail, as shown below:Bytes --------------------------------------
1. Log on to the database as a user with DBA permission in Oracle's SQL Plus tool.System/manger @ to_128@ To_128 is the connection string name of the database, which needs to be changed according to the actual situation. If the database is local,
Many new jsp beginners often ask how to connect to the database. Why are there errors? Therefore, I wrote an article here for your reference. In fact, it is not a good practice to put all the database logic in jsp, but it is helpful for beginners to
UlraEditJbuilderJdk1.3 and tomcat are loaded;2. Install jdk1.3 and decompress tomcat to the c: disk root directory;3. Go to the tomcat Directory, find the startup. bat file, and open edit.Add two lines before the call tomcat start line:SET
Example of uploading files to the server using JSP1. An html file is required.Upload.html (content as follows) The code is as follows:Copy code Upload 2. Create a servlet to process the file uploaded from the front-end. The file is put under
Knowledge Point:1. Use foreach.2. Generate a Random number of decimals. Random. nextFloat ().3. Convert the String to a character array, String. toAharArray (). Java SE5 introduces a more concise for syntax for arrays and containers, that is, the
1. Strong referenceThe references mentioned above in this chapter are actually strong references, which are the most common references. If an object has a strong reference, it is similar to an essential necessities. The garbage collector will never
Directly export to the hello.html page response_demo03.jsp The code is as follows:Copy code Test Response. sendRedirect ("hello.html ");%> This jump is a client jump. is a server jump. The address does not change. You can save the request
Session attribute rangeIn the range of one session, no matter what type of jump can be used, but the new browser will not be able to useSet the session attribute range to session_scope_01.jsp. The code is as follows:Copy code Session.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service