File upload using Apache open source class libraries in Servlet
With specific examples, this paper describes how to upload files in Servlet s using packages provided by the Apache open source class library.The reference book for this article is the third edition of Tomcat and Java Web Development Technical Details by Sun Weiqin.
The software versions used in this paper are: Window10, JDK10, Tomcat9.The Dow ...
Added by mazzzzz on Thu, 27 Jun 2019 19:15:44 +0300
solr (1): introduction and configuration
I. Brief Introduction1.1. What is solr?Solr is a top-level open source project under Apache, developed in Java, and is a full-text search server based on Lucene. Solr provides a richer query language than Lucene, implements configurability and scalability, and optimizes index and search performance.Solr is a full-text retrieval server, which on ...
Added by apitto on Wed, 26 Jun 2019 03:19:54 +0300
Install Tomcat JDK MySQL under Linux
Tomcat service setup steps
Initialization of an environment begins with the first graphical interface entered after installation
Configure the server to work in command line mode
Close iptables and selinux
Configure the local YUM source
Restart the server to display the demo effect
2. The environment needed to install tomcat
Install ...
Added by MaxD on Wed, 26 Jun 2019 01:58:12 +0300
pinpoint installation deployment (2)
Explanation: I don't know why the editor suddenly got stuck. It can only be divided into two pieces
4. Install pinpoint-web
4.1 Deploy the war package
Unzip Tomcat and move the Tomcat rename to the specified location
cd /home/pp_res/
tar -zxvf apache-tomcat-8.0.36.tar.gz
mv apache-tomcat-8.0.36/ /data/service/pp-web
Modify the configura ...
Added by bhonan on Wed, 12 Jun 2019 20:42:46 +0300
pinpoint installation deployment (1)
pinpoint is an APM monitoring tool on github that is open source and written in Java for large-scale distributed system monitoring.It has the smallest impact on performance (only about 3% increase in resource utilization), and the installation agent is non-intrusive, so you can monitor the entire program by adding 3 sentences to the Tomcat und ...
Added by joseph on Wed, 12 Jun 2019 20:26:50 +0300
Packet Analysis
A data dog background produces five kinds of data packets, in which collectd produces a package with an intake url, including metrics, event and service checks, and a series of global key-value s. statsd accepts a UDP packet and emits three http packages: series,intake and check_run. series is metric, intake is event checking, and check_run is ...
Added by ZachMEdwards on Sat, 08 Jun 2019 22:55:08 +0300
docker&k8s deployment tomcat record
Description of parameters
The replacement parameters used in the following are described:
${env}: environment variables, which describe the development environment, test environment, and use namespaces to distinguish environments on k8s, so first you need to create a namespace: kubectl create namespace ${env}, namespace names can only be alph ...
Added by Ristiisa on Fri, 07 Jun 2019 01:25:42 +0300
Step by Step Learning WebSocket (2) Programming WebSocket
meet Part One In this article, we use programmable WebSocket to implement the previous example:Server Endpoint, no longer using the Server Endpoint annotation:public class ProgramerServer extends Endpoint {
@Override
public void onOpen(Session session, ...
Added by FlipinMonkeyPie on Mon, 27 May 2019 02:47:34 +0300
Aliyun Server Builds tomcat Environment
Pre-installation preparation: First you need to install the Xshell, in order to facilitate operation, and then install Xftp.
Xshell 5
Xftp 5:
Some systems of servers open the firewall by default, and need to be shut down before accessing the 80, 443, 8080 ports of the local machine. If you're not sure if your server has a firewall on, foll ...
Added by Renegade85 on Sun, 26 May 2019 23:10:52 +0300
Zabbix4.0 monitors multi-instance java runs through JMX
(1) Introduction1. Introduction to JMXThe full name of JMX is Java Management Extensions (Java Management Extensions), which is a framework for implanting management functions for applications, devices, systems, etc. JMX can flexibly develop seamlessly integrated systems, networks and service management across a range of heterogeneous operatin ...
Added by buzz on Tue, 21 May 2019 19:11:39 +0300