URL :http:

Radio receivers - BroadcastReceiver

Radio receivers - BroadcastReceiver 1. Overview of broadcasting is divided into two different types: "ordinary radio (Normal broadcasts)" and "orderly Broadcasting (Ordered broadcasts)". General broadcast is completely asynchronous, an

Simulation of post form socket

post, in essence, the purpose of proceedings sent to a sign an agreement for the post string as follows: 01 POST / Purpose program HTTP/1.1 02 Accept: */* 03 Referer: http: //www.phpiask.com 04 Accept-Language: zh-cn,en-us;q=0.5 05 Content-Type: applicati

urlconnection and httpclient

urlconnection: String urlAddress = ""; URL url; HttpURLConnection uRLConnection; public UrlConnectionToServer(){ } public String doGet(String username,String password){ String getUrl = urlAddress + "?usernam

IIS + peanut shell + tomcat: build Web sites using free domain name

On the Web accidentally discovered peanut shells, their Daoteng a pass, set over set in the past, external network still can not access my computer, added a customer service QQ, was always not online. Peanut Shell yesterday suddenly found the customer ser

IIS + peanut shells + tomcat: build a Web site with free domain name

On the Web by chance found a peanut shell, their Daoteng a pass, set over set in the past, or the external network can not access my computer, added a customer service QQ, then, is not always online. Yesterday, suddenly found the customer service line a p

haproxy load balancing

HAProxy provide high availability, load balancing, and application based on TCP and HTTP proxy that supports virtual hosts, it is free, fast and reliable a solution. According to official data, the maximum limit of concurrent support for 10G. HAProxy part

Common abnormalities resolved

ConcurrentHashMap and CopyOnWriteArrayList comparison. Blog categories: Java ConcurrentHashMap ConcurrentHashMap introduced Segment, each Segment is a hashtable, the equivalent of two Hash table, and then lock in the Segment level, and increased concurren

JAVA cutting pictures

1.protected void processRequest (HttpServletRequest request, 2. 3.HttpServletResponse response) throws ServletException, IOException { 4. 5.String Pic = (String) request.getParameter ("p"); 6. 7.int PointX = Integer.parseInt (request.getParamete

Introduction to the simple example of HttpUnit

01.package com.amway.test; 02.import java.io.IOException; 03.import org.xml.sax.SAXException; 04.import com.meterware.httpunit.GetMethodWebRequest; 05.import com.meterware.httpunit.PostMethodWebRequest; 06.import com.meterware.httpunit.TableCell; 07.
Recent Entries
Tag Cloud
Random Entries