/** * Read the contents of Excel data * * @param inputstream */ public void Readexcelcontent (InputStream is) { try { wb = new Xssfworkbook (IS); sheet = wb.getsheetat (0); //Gets all lines in the Excel file excluding the first row of headings int rowNum = Sheet.getlastrownum (); System.out.println ("Total number of rows:" +rownum); //Traverse rows for (int i = 1; I //Read left upper cell Row row = Sheet.getrow (i); //Line not empty if (row! = null) { String value = "";
); - the //add merged cells in sheet - sheet.addmergedregion (CRA); - -Row row = Sheet.createrow (0); + -Cell Cell_1 = Row.createcell (3); + ACell_1.setcellvalue ("When you ' re right, no one remembers, when you ' re wrong, no one forgets."); at - //cell position 3-9 is merged into a single cell, no matter how you create a 4th cell or a 5th cell ... Then write the data. are not writable. -Cell cell_2 = Row.createcell (
Export Excel has been applied to many systems, with two simple examples as an introduction:1, import Poi-3.9.jar, you can download http://poi.apache.org on the official website.2, first write a simple test class, there is a detailed explanation, the code is as follows:1 ImportJava.io.FileOutputStream;2 Importjava.io.IOException;3 ImportOrg.apache.poi.hssf.usermodel.HSSFCell;4 ImportOrg.apache.poi.hssf.userm
(); return "error"; } The following code actually writes the data in Excel, I write according to the template, so the format of the sheet table is fixed. I just need to get the specific cell and write the data.Add data to Excel table public void Excelcontractwritedata (Xssfworkbook workbook,xssfsheet sheet, list Here is a sort of month with 1 2 3 4 5 6 7 8 9 10 11 12 But each occurrence of the month is not fixed and may have a broken month in between. So it is necessary to sort and th
Max is from the server with Apache and PHP, do not need to install additional, this article on the relevant configuration is described.
First: Apache
Enter the terminal and the following command will launch the Apache server:
Start sudo apachectl-k start //restart sudo apachectl-k restart
Verify:
Enter in the browser: http://127.0.0.1, displayed as it works!
PHP environment configuration-download the Apache Server for windows and phpapache from the apache official website. PHP environment configuration-download the Apache Server for windows from the apache official website. phpapache
PHP environment Configuration-download Apache server for Windows from Apache official website, Phpapache
Because the individual has the tendency to force, download the software are like to download from the official website, groping for a long time finally feel how to
: This article mainly introduces the PHP environment configuration-download the windows Apache server from the apache official website. if you are interested in the PHP Tutorial, refer to it. As I am forced to download software, I like to download it from the official websit
Because the individual has the tendency to force, download the software are like to download from the official website, groping for a long time finally feel how to download the Apache official website version of the Apache server, and now share to everyone.
Go to
PHP environment configuration-download the Apache server for windows and phpapache from the apache Official Website
As I am forced to download software, I like to download it from the official website. After a long time, I finally figured out how to
Apache download, apache
Recently, I am bored. I want to watch php and play asp N years ago. Now I feel embarrassed to say that I would like to talk about asp.
Since php is required, first install the server and configure the environment. The server must be a famous Apache. Well, go to the
Configure apache Virtual Machine + software download, apache Virtual MachineStep 1:
Open the httpd. conf file in c:/wamp/apache/conf,
In httpd. conf, press ctrl + f and enter vhosts.
Find the line and remove the # above
Operation
Step 2:
Open the master configuration file of the VM
Httpd-vhosts.conf in c:/wamp/
.
Support website MySQL data is upgraded from an older version to a new version.
Support for Apache module settings
Support for PHP functional component Turn off
Supports host performance adaptation capabilities
Support for production development environment options
Support for backup and restore of integrated package profiles
Apache version UPUPW PHP5.3 series Kit A3.0
This article was reproduced from: http://blog.csdn.net/qq_15096707/article/details/47319545
Reinstall the WIN10 system today and download and install Apache again. Although previously installed Apache (the original system is win7 64-bit), but also successfully run Apache server, but let me re-
PHP must run without the support of the server, what is the server? Popular speaking is on a computer, install a server software, this computer can be called a server, Server software and the computer itself is the operating system is not the same, the computer's own operating system can be Linux, Unix, Windows or MacOS, The service software can also be Apache (PHP), Tomcat (java/jsp), IIS (ASP).PHP mainly uses the
ArticleDirectory
Download/install
Configuration File naming rules: AWStats. sitename. conf
Minimal configuration file modification: logfile sitedomain logformat
Log Analysis
Statistical Output
Automatic Running of log statistics
Multi-site log statistics
Statistical indicator description
Hacking AWStats
You do not have to patiently read all the content: brief installation instructions are as follows:InstallHttp:
======================================= Download ========================================= Download install tomcat6.0-xiaoxiaoniaoer1 column-Blog channel-csdn.nethttp://blog.csdn.net/xiaoxiaoniaoer1/article/details/7559906 Contains part of the installation of the tutorial, the download part of the explanation is better, take its essence. Latest Version (md5:d34c
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.