1、 Servlet 接口

继承 Servlet 接口,实现Servlet 接口的 所有抽象方法!

实现类代码

package xw.servlet;

import java.io.IOException;
import java.util.Enumeration; import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse; public class ServletInterfaceDemo implements Servlet {
//继承 Servlet 接口,实现接口中所有的抽象方法 总共五个, 如果不实现,那么该类就要定义为抽象类 public void destroy() {
System.out.println("destory()...");
}
/*
* 可以用来获取Servlet的配置信息
*/
public ServletConfig getServletConfig() {
System.out.println("getServletConfig()...");
return null;
}
/*
* 获取Servlet的信息
*/
public String getServletInfo() {
System.out.println("getServletInfo()...");
return "我是一个快乐的Servlet";
}
/*
* 它是生命周期方法
* 它会在Servlet对象创建之后马上执行,并只执行一次!(出生之后)
*
*/
public void init(ServletConfig servletConfig) throws ServletException {
System.out.println("init()...");
/*
* 获取初始化参数
*/
System.out.println(servletConfig.getInitParameter("p1"));
System.out.println(servletConfig.getInitParameter("p2"));
/*
* 获取所有初始化参数的名称
*/
Enumeration e = servletConfig.getInitParameterNames();
while(e.hasMoreElements()) {
System.out.println(e.nextElement());
}
}
/*
* 它是生命周期方法
* 它会被调用多次!!!
* 每次处理请求都是在调用这个方法!
*/
public void service(ServletRequest request, ServletResponse response)
throws ServletException, IOException {
System.out.println("service()...");
}
}

web.xml 配置文件

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>servletInterfaceDemo</servlet-name>
<servlet-class>xw.servlet.ServletInterfaceDemo</servlet-class>
<init-param>
<param-name>p1</param-name>
<param-value>v1</param-value>
</init-param>
<init-param>
<param-name>p2</param-name>
<param-value>v2</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>servletInterfaceDemo</servlet-name>
<url-pattern>/servlet/ServletInterfaceDemo</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

web.xml

访问路径:http://localhost:8080/JavaWebTest/servlet/ServletInterfaceDemo

显示效果:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAroAAAFBCAIAAAAXIpsJAAAgAElEQVR4nO2dbbAlR3nfT5WTSgUw+eJKVT7lS6ospJSdRLARY2wnZUKFVIxDEiMbiHVZrcdIYF4MCDDYik3si2QZTgxerQNmRWIIeJHRCjxOjE0lxi+kglcxQq6CGxNjG4wAScdatLqrKzT5MOf0PN39PN095+Xec+75/WpLOnemp6f76Z7u/3T39DOa+Nx33313AAAAAAhGsVCYHF+OfQbnwxV9u024Z+C+++476hI4eng0ACDNVC50HcbRJmXVHPsMzkdX9Efddx8l6AYHzwgAWIwmaIUtpiv6J+CJJ5544glEw4QnBQAMRtumFe6+9R+o/44udUcGWkEFxXDsGwQAmIOtkwsffus/vPzY48G/z9x9wxYqhq7ovyF44c0fftorfzf974U3f/gbx50tH2Y49g0CAMzB6Ng3DUEGP7T7j2K58LnffvN9W6YYOq3wuM/TXvE7//bUW9L/nvaK33l8O1hcMbz2Ja9wv2944c3u9+tO/ugi0R4Cx75ZAIChZOTCLec/Xb3hzqtvPFO94c6d05/4yKf+7NBS1nNuZ3Ri98K8VwcZ/MDPXv3o5ce7f1ecPP3o5cf3Lx/86Sff/rnffvNn7n7pB3/m6sXTa3NuZ7RzblmRXdg9sYBddLnw8o9f+yM/e88DB9a/a3/kZ5/28o8fSect+MgPj374IwOvuWFG9qBkQcVw44tfN5lM/uDXTr33dU957+ue8l9uesr/vvslk8nkFT/0Y3PHeTggFwAgICUXnvnyM09/7bmP/dEXuwXkH/3DP6vecOe7f/tzqfgW69pXEWeQwV95y9MfefTgkUcPrjh5uvvxyP7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eL4AAABYJsHogvQ96XXgPqKT1r1a9x157LYqkgtNrY4HpO87DaDMPOhHAQAAYF7stQtNPXubN7rz1p1U3uX3xtV0ZiLqukvlQvq+LXIBAADgkLAdWIuePjW+b8iF7oTqEVudjPBvPL1zbl5h0GREN3Cihh90HAAAYOsI5II58q+dkjMXStcavfyH4eUVMn55USJJ7bCljsgFAACAOeFDSgAAAMiw4XKBbZoAAABWz8bLBQAAAFg1yAUAAADIgFwAAACADMgFAAAAyIBcAAAAgAzIBQAAAMiAXAAAAIAMyAUAAADIgFwAAACADMgFAAAAyIBcAAAAgAzIBQAAAMiAXAAAAIAMyAUAAADIgFwAAACADMgFAAAAyIBcAAAAgAzIBQAAAMiAXAAAAIAMyAUAAADIgFwAAACADMgFAAAAyIBcAAAAgAz/H/jpR1mw6ZIdAAAAAElFTkSuQmCC" alt="" />

2、GenericServlet 抽象类

模拟 GenericServlet

通过两个servlet 类,模拟  GenericServlet 实现原理

package xw.servlet;

import java.io.IOException;

import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
/**
* 模拟GenericServlet,理解 GenericServlet 类的内部实现原理
*
*/
public class AGenericServlet implements Servlet {
//GenericServlet类内部定义 一个ServletConfig 类型的 config 属性
//类继承了GenericServlet 类之后,可以直接使用 ServletConfig类的config 对象
private ServletConfig config; /*
* 需要就写,不需要就不写
*/
public void destroy() {
System.out.println("啊~我要死了!");
} /*
* 请放心,这个方法一定会在init()方法之后被调用!
* init()被调用后,本类的成员this.config已经有值了!
*/
public ServletConfig getServletConfig() {
return this.config;
} /*
* 没有用的东西,爱实现不实现
*/
public String getServletInfo() {
return "我是一个快乐的Servlet";
} /*
* 由Tomcat来调用,并且只调用一次
* 它是这些方法中第一个被调用的,它会在构造器之后马上被调用!
*/
public void init(ServletConfig config) throws ServletException {
// 把tomcat传递的Servletconfig赋值给本类的一个成员,其实就是把它保存起来,方便在其他方法中使用!
this.config = config;
init();
} /*
* 这个方法是本类自己定义的!不是Servlet接口中的方法
*/
public void init() {
} public void service(ServletRequest arg0, ServletResponse arg1)
throws ServletException, IOException {
/*
* 这里是否可以使用ServletConfig的成员呢?
*/
System.out.println("每次处理请求都会被调用!");
} public ServletContext getServletContext() {
return config.getServletContext();
} public String getServletName() {
return config.getServletName();
} public String getInitParameter(String name) {
return config.getInitParameter(name);
} }

实现类 ,继承 模拟的GenericServlet 类

package xw.servlet;

import java.io.IOException;

import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse; public class BGenericServlet extends AGenericServlet {
public void init() {
System.out.println("哇~~~~,很高兴啊~~~");
} public void service(ServletRequest arg0, ServletResponse arg1)
throws ServletException, IOException {
String value = getInitParameter("p1");
System.out.println("重写父类service 方法!");
}
}
   <servlet>
<servlet-name>BGenericServlet</servlet-name>
<servlet-class>xw.servlet.BGenericServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>BGenericServlet</servlet-name>
<url-pattern>/servlet/BGenericServlet</url-pattern>
</servlet-mapping>

Web.xml

访问地址:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdAAAAAiCAIAAABgEh/xAAAOB0lEQVR4nO2d+1cbxxXH9dfwQ5O25/SkadMkTdo0aY7tpHETJ8eJ7Tp+CMdxoI6Fm9gliaQ86vQ4spyTU78USZYBQ0CsxBuMCSBABoEszMPYgDBCD4RW0mr12od8+oOk3dmHHjbE4Hj2fH5Aqzszd2Z3vnvnjiQkyxEKAoFAIA8AyXKEhEAgEMgDQOLDyIJ4wsStpZB1YqF39FaXdbLV4mi1ODqHJnpHb1knFm66UE+YKKYeCAQCeZQpILguND4ytdhqcThmXF4Uj8apBJEi6LsEfTdBpKJxyheMOmZcrRbHtckFFxpf9/5AIBDIhkXiwyhRvGFybMZ9xTqx6AsR1F2SvpukUkkiFQdIkqkklSLpuwR1d8mPd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GXVbHmF/MCocLvjnYg3cf4MS0DADeBzPAAANAPKgIAAP2gIgAA0A8qAgAA/aAiAADQDyoCAAD9oCIAANAPKgIAAP2gIgAA0A8qAgAA/aAiAADQDyoCAAD9oCIAANAPKgIAAP2gIgAA0A8qAgAA/aAiAADQDyoCAAD9oCIAANAPKgIAAP2gIgAA0A8qAgAA/aAiAADQDyoCAAD9/B+536YG9gjHMQAAAABJRU5ErkJggg==" alt="" />

继承 GenericServlet

package xw.servlet;
import java.io.IOException;
import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse; public class CGenericServlet extends GenericServlet { @Override
public void init() throws ServletException {
System.out.println("哈哈哈~我来也!");
} /*
* 查看帮助文档 GenericServlet 类为抽象类,类中唯一的抽象方法为 service,必须重写。
* */
@Override
public void service(ServletRequest req, ServletResponse res)
throws ServletException, IOException {
System.out.println("hello world");
} @Override
public void destroy() {
System.out.println("destory()");
}
}

显示效果如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmsAAABmCAIAAAAbL0FEAAAJ30lEQVR4nO3dQZabOhCFYdalBWk9TDPrReRoHxl7E28HvAE2FFBVksomjvH/nQy6bbmQweYiIK3h5+fnv4efn59fv//8+v1nAgAAroEEBQAggAQFACCCBAUAIIIEBQAgggQFACCCBAUAIMJN0DRMwzANwzTeNi8a0/3xXDaPZ63xbbw3HoZpyE2dUus4y7Us7dP4VB2rP3kI9mfX3upntc6uvbW9rmdeA21r/c2WjaVulPwFGyts+X6lcRrTizc32wWvYCfo+hkqm71VyeuOO4vHxzTlMpWsJGhjwPh1rOVasgiYMa3VeutY/Zkfb69jLdfqp8Vqb22vq3r5LrVdajsQlFq27F8T6P+pdVRZHGg2HjCxXV5bBw3azuLKvVVO0/KRO6bj8wlq1fGX69skTaiOmqDy6GHzbFEG3C3Lbanjtdf65kjauYH0ODC/H6QvT5VH4zSNuT7SLXk997C0TOLlc6mb234mxyLp8ZIxTeOo9F+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AQQYICABBBggIAEEGCAgAQQYICABBBggIAEEGCAgAQoSfobUzDMOTSUWh+yTAMaby1PP4uDf0peRiGNP7VbgEAPo05Br2NqStBZ7cxqclkPf4utf6UTIICAFxugo6P8Zocji6DOG2g1pWgolAlrO8tH61K3ixdrTM/mMbbbfdiqz/ifeVCggIAKrwEXc50yryR0XMb0y5E2xN0TOI8asmVs6aHEXHJ91d7deaknR8pWRY49KfktQxncQEAdW1ncZe8kgNQbfjYmqB2IlrmF8yxvp5l9evYRff92bW8jYkEBQC4OhO0doHwvAQtOY23ktNYchrL4+UkKADgTXoTdHO686jnLK58oOG6Y8k55zTeppJTWvvm1WlP0KnkQb5dzuICACq8/81yP0V7v29nDc7tmdw5eB6NWh/fnxCu3/d7W654bkNcr7NfrvW4/kzOXAoFAPj4iwoAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABEkKAAAESQoAAARJCgAABE/A9Axn93cHMUOQAAAABJRU5ErkJggg==" alt="" />

2、HttpServlet 抽象类

package xw.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; public class DHttpServlet extends HttpServlet {
/*
*HttpServlet 是抽象类,类中没有抽象方法,extends 自 GenericServlet
*抽象类可以没有抽象方法,但是如果你的一个类已经声明成了抽象类,即使这个类中没有抽象方法,它也不能再实例化,即不能直接构造一个该类的对象。
如果一个类中有了一个抽象方法,那么这个类必须声明为抽象类,否则编译通不过
*/ //httpServlet 是高效的,线程不安全的,每次请求服务器都会开启一个线程。
//但是如果,该类中,只有get读方法,没有set写方法,也不会出现 ,线程安全问题。 高手的写法。 但是,最好还是都写出局部变量
private User user = new User();
@Override
public void init() throws ServletException {
System.out.println("hello --> world!");
} public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println("doGet()...");
} public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println("doPost()...");
} }

访问页面 login.html:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVEAAAFCCAIAAADHVnkgAAAgAElEQVR4nO2de3QT173v9z/99y7WStc6J3/cpifJXWW16yqJLaf0NAVOe29J03XTXikkOEaB1SZpbk5PeSgGE3AthElJE4qdCkIeWHbAAhKowRBegcgYMOJ4Ytm8bJ62ZGxGlgXGQJBxcnT/GGlmz8ye0eg5r5/XZ7Hk0Z49W8If7T17a76DKDpYIBKJRH+/v8brneH113i9/f3+RCJRuMMBAKAEVLiq+/v9M/z+eX5/W1tbY+OWGV5/f79f9RcMACYnn8737FzGQtHBGr9/ntfv9Xv9/TV+v3dejX9ejVf1F0yi1WlFNp/qzQCAYpA357t3LEtgP907qmZ4/W1tbX7/vBrvjBrvjBk1M2bMk3DeZ0fWypbcGlDvQMjhYX9tcVvwOgW/8iE7X+9Awh+sfgDQKbk6v37l2+tXvr1+5Zr7kYb7kYav+zeM9rwzeLT6QuuiGq+3xuuv8dbUzJsxr2bejHk1NTU15Hry4Ty/klanFSFkcQaSz9Y7kMXdKrGvfD/vsSF7fcbtgbEDoFEUOf/BPz6qfauW+NTby9eurg8kbrWL6e/3z/D6Z3j9TA8/Y55X8nw+L84HKi2c5B4bstscrHWtTivnvwhwHjAR6Z1/f8cHD//gke898pBUgcWL/p6I7iHAzNvXeGfM87tcLrl5e9z5QKUlNZS2+YKMPGwXzQ3RhcWCPM18duTwtLgtydF4oNLCeeuxpXZMVcvsyG3nuyp2XlxDsMXNNsdejxXIw2cZAOSVNM4zws+ZM0fG+d//4YPE0BYyoh9yJZzzrU5HShKfHTGy4c9aUx8E4mKMeA4PRQfrmR4+UGlhdvTZU6fiHhs3FsBqsyK2Er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rW2hmbM+U8diY7UwJd6uofu5Z5PDwjmKtbGEK+CotCCGEbL4g5RNUlZ9PpbQfDdDVmxNdOs/m4T3w8EzWeXEensTurFEeG26sz46w7ak+udVpRSTnGZmJJ/nEZ/F+3mNDqToZ27nCbP0FHYkApkaXzrN5eA88PBOPwWTz8GR3TxnlS3XgSVJaCrb7JPr5ALuX2HnxswLn2QLEx+A8UEB06Tybh/fAwzPH7txnwPPwZHeXcd7iDIDzgMHRpfNsHt4DD8/8bw8+zoDn4cnuLj22T6quZGwvspobxoPzgKbRpfN4Hh4efcvm4cnurmAOL5CcYJObwwswhRU6H2xxW3hzeAG2AeA8UFR06Tyeh8d4zvjP5uHl83DCUwAA0De6dJ7Nw2M9Z5xn8/Byq7/VaeUNBESrcQCgY3TpfNo8vFwPwY3tQXjAaOjS+bR5eKq3EAA0iy6dBwAga8B5ADAX4DwAmAtwHgDMRQGdTyQS/f3+Gq93htdf4/X29/sTiYTqLxgATE4Bne/v98/w++f5/W1tbY2NW2Z4/f39ftVfMACYnP8Pa3mlf0qmZpIAAAAASUVORK5CYII=" alt="" />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="/JavaWebTest/servlet/DHttpServlet" method="post">
<input type="submit" value="提交"/>
</form>
</body>
</html>

显示效果:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjAAAABbCAIAAADiPyiIAAAJnklEQVR4nO3d25mkIBCGYeMiIOIxhI2CZExiMmAvPBVQhdCHGez+3mcvZh2aRu3mF3Vk+vn5+fn5+ffv38/u+DkCAPBbJgIJADACAgkAMAQCCQAwhIZAclOcpjhNcV6Sl85uW+5DstxrhZd5KzxNcfJNTVPrqbyv5Sjv5qfqsdrjp756Lrdn1s7eenrbc1/rFrvFWh47t/z8xBi9sRxRfJ7dHGf34t3Nf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SA0nUgHb257C5lz7nMbmrrWMvlsxNZEXyZba+xbKl0XSzNxOC31tXauQbX/vBpWUGxvsGf1Sin7AgkAN+s55Td0T3L4ZE2uGkNJDsADNugpXhfa3n+7pdjpbVBawqfp9Tq7bQbna9vVnKZHYEEALuHAqm4+JF5WyA9rhzGqYJ38xK8m4N3c9ib91uBBADf7LFASs49lXpO2ckFFzn3oMbzdXsTvPduXmLwzp3rXmtneyDF4Ce5OZtbBQBf4Pq27+38135WTFxGaj91Zp9SS8/+vfquhv3yTvuoazmuFqWZq7czXy9ruf4b77PLSPupQgD4RvxhLABgCAQSAGAIBBIAYAgEEgBgCAQSAGAIBBIAYAgEEgBgCAQSAGAIBBIAYAjtgaQ8nbqUPXX1rY8KTZ7Lw3PhAODmukZILc+aSx7X9szTqy+mBkzeR10AALiTq0CyJ5QzJtZLckE+m9WaiO9c7pw7pnvQnwSXvCpfyCAJAO6sHkjmhHL2hHX6CMkqL5+HnT39ujpCUodD9UeQAwCGVg0ka/6e2vxAyYOuzwn9mspnIyc7kBZlgBTVYRMA4CbeEUhFKDROxJdODU4gAcBXuTxlp08oZ09Yp99bYJVPlqcvPX8VfHEVqeuU3ToIU8t3LQcAvNHVTQ3WhHLGxHpiaZoN1+WLDDjfum0wZN7UQCABwA3c9g9jue0bAD7LbQOJP4wFgM9y40ACAHwSAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMAQCCQAwBAIJADAEAgkAMIT//31N5ZmWFhQAAAAASUVORK5CYII=" alt="" />

ServletDemo的更多相关文章

  1. Weblogic部署项目三种方式

    在weblogic中部署项目通常有三种方式:第一,在控制台中安装部署:第二,将部署包放在domain域中autodeploy目录下部署:第三,使用域中配置文件config.xml 进行项目的部署. 控 ...

  2. web学习之servlet

    1)web服务软件作用: 把本地资源共享给外部访问 2)tomcat服务器基本操作 : 启动:  %tomcat%/bin/startup.bat 关闭: %tomcat%/bin/shutdown. ...

  3. 跨域资源共享(CORS)问题解决方案

    CORS:Cross-Origin Resource Sharing(跨域资源共享) CORS被浏览器支持的版本情况如下:Chrome 3+.IE 8+.Firefox 3.5+.Opera 12+. ...

  4. eclipse搭建servlet项目

    1.创建web项目 2.勾选Generate web.xml 3.创建Class文件并实现Servlet接口 当搜索Servlet接口时,如果未发现接口则Add library→选择tomcat版本至 ...

  5. 动手学servlet(六) 过滤器和监听器

     过滤器(Filter) 过滤器是在客户端和请求资源之间,起一个过滤的作用,举个例子,比如我们要请求admin文件夹下的index.jsp这个页面,那么我们可以用一个过滤器,判断登录用户是不是管理员 ...

  6. 动手学servlet(五) 共享变量

    1. 无论对象的作用域如何,设置和读取共享变量的方法是一致的 -setAttribute("varName",obj); -getAttribute("varName&q ...

  7. 初学 Java Web 开发,请远离各种框架,从 Servlet 开发

    Web框架是开发者在使用某种语言编写Web应用服务端时关于架构的最佳实践.很多Web框架是从实际的Web项目抽取出来的,仅和Web的请求和响应处 理有关,形成一个基础,在开发别的应用项目的时候则可以从 ...

  8. java servlet上传centos服务器

    前面一篇随笔说了Centos上架设javaWeb运行环境的方法,这篇主要讲打包上传服务器. 一.数据库连接文件.propeties 为了数据库安全,mysql3306端口访问我做了ip访问限制,由于m ...

  9. 发布一个java Servlet (静态发布)

    Servlet 是sun开发的动态web资源 的技术 让 Servlet 能响应用户请求,必须将 Servlet 配置在 Web 应用中 如何将Servlet用Tomcat发布出去: 编译你的.jav ...

随机推荐

  1. applicationContext.xml

    <bean id="dataSource" parent="parentDataSource"> <property name="u ...

  2. Android ListViewview入门

    接着上文<Android 数据库的事务>,往person数据表中插入50条数据 public void testAdd() throws Exception { PersonDao dao ...

  3. Redis Java API

    package cn.ac.iscas.pebble.dc.redispool; import java.io.File; import java.io.FileOutputStream; impor ...

  4. Android4.4中不能发送SD卡就绪广播

    当在Android上进行图片的扫描功能开发时一般会使用:sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(“file:// ...

  5. uva 10056 - What is the Probability ?(概率)

    题目连接:uva 10056 - What is the Probability ? 题目大意:给出n和p以及m,表示有n个人在丢色子, 谁先丢到某个值就表示胜利,每个人丢到的胜利数值的概率都为p,问 ...

  6. 3 weekend110的job提交的逻辑及YARN框架的技术机制 + MR程序的几种提交运行模式

    途径1: 途径2: 途径3: 成功! 由此,可以好好比较下,途径1和途径2 和途径3 的区别. 现在,来玩玩weekend110的joba提交的逻辑之源码跟踪 原来如此,weekend110的job提 ...

  7. 《大话操作系统——做坚实的project实践派》(6)

     继续写硬件体系.这个不写完.不会写操作系统内核.由于根基不正,则难于达到上层境地.

  8. python虚拟环境Virtualenvwrapper无法升降级虚拟环境软件解决方法

    virtualenv用于创建独立的Python环境,多个Python相互独立,互不影响,它能够在没有权限的情况下安装新套件,不同应用可以使用不同的套件版本,套件升级不影响其他应用. Virtaulen ...

  9. mysql学习 第二章 数据库的基本操作

    3.1   创建数据库 MySQL安装好之后,首先需要创建数据库,这是使用MySQL各种功能的前提.本章将详细介绍数据的基本操作,主要内容包括:创建数据库.删除数据库.不同类型的数据存储引擎和存储引擎 ...

  10. gradle 很好用的么

    Gradle 其实是很好用的 2017, Apr 14 by Tesla Ice Zhang Gradle 是一款使用 Kotlin (划掉) Groovy 编写的 JVM 构建工具,其易用性和 Ma ...