Original article: http://inventors.about.com/library/weekly/aa033099.htm
On August 12,198 1, IBM introduced its new revolution in a box,"Personal Computer"Complete with a brand new operating system from Microsoft and a 16-bit computer operating system called MS-DOS 1.0.
In 1980, IBM first approached Bill Gates and Microsoft, to discuss the state of home computers and Microsoft products. gates gave IBM a few ideas on what wocould make a great home computer, among them to have basic written in
the subsequent construction of the network process, will have a good penetration and coverage effect.
Two division The spectrum of both FDD and TDD is plentiful, and TDD and FDD have raised a big question in addition to realizing that the telecommunications authority has turned its hands on the cloud as a means of rain. Is it to make the two standards go hand in hand, to develop together, or to generate several carriers to share the frequency bands? In addition, which faction will China Telecom
Cat. That is ue-category, according to the definition of 3GPP, ue-category is divided into 1~10 a total of 10 levels, of which cat.1-5 is R8 definition, cat.6-8 is R10 definition, cat.9-10 is R11 definition.
As shown above, ue-category mainly defines the upper and lower line rates that the UE terminal can support.
The cat.0 is an LTE terminal grade that is written to the 3GPP rel.12 Standard and supports a lower-rate, lower-power version. cat.0 and Cat.1 are all pointing to the vast IoT market
Embedded jetty this article describes how to use embedded jetty to create an http/https server. i. related jar package Jetty-serverJetty-servlet 2. creation Method 2.1) simplest ServerservernewServer (8080); server. start (); server. join (); create...
Embedded jetty
This article describes how to use the embedded jetty to create an http/https server.
1. Related jar packagesJetty-serverJetty-servlet
Ii. Creation Method2.1) the simplestServer server = n
successfully installed, vagrant init ubuntu/trusty64 can help you quickly install a Ubuntu14.04 virtual machine, the first installation will be slightly slower, because vagrant will help you generate vagrantfile files, and download the image.Do not start immediately after the Vagrantfile is generated because we want to access vagrant through localhost and then access the Docker through vagrant. Since Jenkins uses port 8080 by default, if the vagrant
A cross-domain refers to a document or script under a domain that tries to request resources under another domain, where the cross-domain is generalized. This article is mainly to share with you the front-end cross-domain solution and hope to help everyone.
Generalized cross-domain:
1.) Resource jump: A link, redirect, form submission2.) Resource embedding:
The server returns as follows (the global function is executed on return):
Onback ({"Status": True, "user": "admin"})
2.) jquery Ajax:
$.a
follows:Classpath =.; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jar; % catalina_home %
\ Common \ Lib \ servlet. jar;Start Tomcat and access http: // localhost: 8080 in IE. If you see the welcome page of Tomcat, install
Success.Step 3: Create your own JSP app directory1. Go to the webapps directory of the tomcat installation directory, and you can see the Tomcat built-in directories such as root, examples, and tomcat-docs.
; 2
By chance, when you browse a website, the page is fresh and comfortable. Websites are developed using JSP. For my personal interests, I decided to test the security of my system.
Telnet www.target.com 8080
GET/maid HTTP/1.1
[Enter]
[Enter]
The returned results are as follows:
HTTP/1.0 404 not found
Date: Sun, 08 Jul 2001 07:49:13 GMT
Servlet-engine: Tomcat web server/3.1 (JSP 1.1; servlet 2.2; Java 1.2.2; Linux 2
. 2.12 i386; Java. Vendor = Blackd
directory (you can append it according to the actual situation) to the classpath. The modified classpath is as follows:
Classpath =.; % java_home %/lib/dt. jar; % java_home %/lib/tools. jar; % catalina_home %/common/lib/servlet. jar;
Start Tomcat and access http: // localhost: 8080 in IE. If you see the welcome page of Tomcat, the installation is successful.
Step 3: Create your own JSP app directory
1. Go to the webapps directory of the tomcat instal
_,03 security1 _. shareclassid as sharecla1_16_0 _,04 security1 _. company_id as company2_16_0 _,05 from06 Post_Security_Relationship securities0 _07 inner join08 unmi. securities security1 _09 on securities0 _. shareclassid = security1 _. shareclassid10 where11 securities0 _. post_id =?
It can be found that the parameters corresponding to the SQL statement are not visible on the console. In general, Hibernate will work with Log4j, so that hibernate's log file output can be controlled more fle
1, First Download Zookeeper registration Center,: http://www.apache.org/dyn/closer.cgi/zookeeper/2, in the Conf directory, there is a zoo_sample.cfg file, name it zoo.cfg, and modify the configuration filethe Following is a description of each parameter:Ticktime: this time is the interval between zookeeper servers or between the client and the server, which means that every ticktime time sends a heartbeat.Datadic:zookeeper the directory where the data is stored, by default, Zookeeper writes the
according to the actual) Servlet.jar appended to the CLASSPATH, after the modified classpath are as follows:
Classpath=.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;%catalina_home%\common\lib\servlet.jar;
Then you can start Tomcat, access http://localhost:8080 in IE, and if you see the Tomcat Welcome page, the installation is successful.
Step three: Build your own JSP app directory
1. To the WebApps directory of Tomcat's installation direct
(can be added according to the actual) Servlet.jar appended to the CLASSPATH, after the modified classpath are as follows:Classpath=.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;%catalina_home%\common\lib\servlet.jar;Then you can start Tomcat, access http://localhost:8080 in IE, and if you see the Tomcat Welcome page, the installation is successful.Step three: Build your own JSP app directory1. To the WebApps directory of Tomcat's installation
/config"
# Comma seperated List of nodes in the ETCD clusterKube_etcd_servers= "--etcd_servers=http://192.168.1.10:4001"# Logging to stderr means we are in the SYSTEMD journalKube_logtostderr= "--logtostderr=true"# Journal message level, 0 is debugKube_log_level= "--v=0"# Should This cluster is allowed to run privleged Docker containerskube_allow_priv= "--allow_privileged=false"
4.2, "/etc/kubernetes/apiserver"
# the ' address ' on the ' local ' server to listen to.Kube_api_address= "--addr
general Windows program
Mount the steps to install Tomcat, it will automatically find the location of your JDK and JRE when installed.
2:linux Platform
Download the jakarta-tomcat-4.0.1.tar.gz and extract it into a directory.
(ii): Configuration
Running Tomcat requires setting the Java_home variable
Set JAVA_HOME=C:/JDK (Win98, used in msdos mode, or put into Autoexec.bat)
Export JAVA_HOME=/USR/LOCAL/JDK (used under Linux, put in/ETC/BASHRC or/etc/profile)
(iii): operation
After setting up,
the socket class, which returns a Java.io.InputStream object.
The following code creates a socket (127.0.0.1 represents a local host) that can communicate with a local HTTP server, sends an HTTP request, and receives a response from the server. It also creates a StringBuffer object to accept the response and prints it to the console.
Socket socket = new Socket ("127.0.0.1", "8080");
OutputStream OS = Socket.getoutputstream ();
Boolean autoflush = t
without the browser's knowledge. At this time the page received the request is not directly from the browser, may have durable request.setattribute in the request to put the data. On the Go page you can get data directly from the Request.getattribute.
:
Jump mode
Http://localhost:8080/Test applications
Use the forward method to redirect only one resource in the same Web application. The Sendredirect method allows you to redirect to any URL.
Form form
);
//调用同步方法
syncService.syncEvent();
long syncTime = System.currentTimeMillis();
log.info("同步方法用时:{}", syncTime - start);
//调用异步方法
syncService.asyncEvent();
long asyncTime = System.currentTimeMillis();
log.info("异步方法用时:{}", asyncTime - syncTime);
log.info("方法执行完成:{}!",asyncTime);
return "async!!!";
}
}
After the app starts, you can see the console output:
2018-08-16 22:21:35.949 INFO 17152 --- [nio-
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.