搜索资源列表
用Java编写HTML文件分析程序
- 用Java编写HTML文件分析程序 一、概述 Web服务器的核心是对Html文件中的各标记(Tag)作出正确的分析,一种编程语言的解释程序也是对源文件中的保留字进行分析再做解释的。实际应用中,我们也经常会碰到需要对某一特定类型文件进行要害字分析的情况,比如,需要将某个HTML文件下载并同时下载与之相关的.gif、.class等文件,此时就要求对HTML文件中的标记进行分离,找出所需的文件名及目录。在Java出现以前,类似工作需要对文件中的每个字符进行分析,从中找出所需部
用Java实现Web服务器
- 用Java实现Web服务器 本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接
Java_upload_1
- 自己编写的Java的上传类,可以多文件同时上传,并提供了Request的方法来获得变量值,过滤文件等功能。-prepare themselves upload Java class can also upload more documents, the Request and provide the means to obtain variable value, filter paper and other functions.
java mail源码
- 用java实现发送邮件,压缩文件中有个j2ee.jar:已经包含了javamail,JAF包,只是Java mail需要的 1)直接拷贝j2ee.jar,将其添加到jbuilder的library中,或系统ClassPath中。 2)压缩文件中还包含一个配置文件MailServer.properties,需要放到工程文件的class目录 3)这个源代码也是在网友的基础上修改的。如有问题,欢迎交流讨论。 -mail, compressed files are 000 j2e
Java-TCP服务器】
- 这是一个TCP服务器端的实现代码,监听客户端的请求,在子线程中处理各个客户端发来的数据包,再将处理后的结果送回客户端。这里提供的代码很完整,包括一个mainclass,一个监听class和它的interface,一个包处理class,一个发送class,基本上可以直接使用。-This is a TCP server-side implementation code, bugging the client's request, the child acquires handle all t
JAVA_QQ
- 一个java编写的类QQ的即时通讯程序,有客户端和服务器端。-Write a java class QQ instant messaging program, there are client and server-side.
Java_Http_Client
- 这是用JAVA的SOCKET类实现的HTTP CLIENT的代码。通过它可以让原来很头疼的事情现在轻松的解决,例如你不再管是HTTP或者HTTPS的通讯方式,告诉它你想使用HTTPS方式,剩下的事情交给httpclient替你完成。-This is the SOCKET with JAVA class implements the HTTP CLIENT code. It allows the original adoption of a headache now things easy sol
TCPIPSocketsinJava
- The networking capabilities of the Java platform have been extended considerably since the first edition of the book. This new edition covers version 1.5-1.7, the most current iterations, as well as making the following improvements: The API (appli
MyChat
- java编写的类qq 聊天程序用netbeans开发用到了 数据库-java class to prepare qq chat program used by the development of the database netbeans
RIMChatsrc
- A java-rmi chat-room,instant messaging is one particular application in a broader class of applications known as presence-based applications. Presence-based applications are inherently distributed applications that build on the notion of a user’s
WebService
- 一个关于WebService的实例,有实体,接口以及相应的实现类,jar包和配制文件。-One on the WebService instance, there are entities, interfaces and the corresponding implementation class, jar packages and preparation of documents.
JavaCommunication
- 类似QQ的网络聊天程序,为一个JAVA课程设计,需要使用SQL Server 数据库-communication tool like QQ. designed for java class. needing SQL Server database
DBManager
- java连接sql数据库以及包含操作数据库的各种方法的类-java to connect sql database and the database contains a variety of methods of operation of class
java(QQ)
- 内附完整数据类文件及详细代码,类似QQ,做到即时通讯。-Class file containing a complete data and detailed code, similar to the QQ, do instant messaging.
tcpportscan
- 〈tcpportscan.zip〉是一个扫描开放端口的java小程序。它包括4个java类源代码,都在tcpportscan包中。-< tcpportscan.zip> is a scan for open ports java applet. It consists of four java class source code, in tcpportscan package.
XMLUtil
- 一个使用JDOM读取XML文件的工具类。 这个类的内部封装了JDOM的具体实现,提供了常用的一些方法,避免直接使用JDOM的API。 同时,也提供了方法可以返回JDOM的一些基本类型。目前的版本中还没有实现关于Namespace 的操作。-A use JDOM to read XML file tools. This class encapsulates the JDOM inside the concrete realization, provides some of the metho
ftp4j
- ftp4j是一个FTP客户端Java类库,实现了FTP客户端应具有的大部分功能。可以将ftp4j嵌到你的Java应用中,来传输文件(包括上传和下 载),浏览远程FTP服务器上的目录和文件,创建、删除、重命,移动远程目录和文件。ftp4j提供多种方式连接到远程FTP服务器包括:通过 TCP/IP直接连接,通过FTP代理、HTTP代理、SOCKS4/4a代理和SOCKS5代理连接,通过SSL安全连接。-ftp4j an FTP client-side Java class libraries, mo
Send-Ethernet-ARP
- 熟悉ARP协议并了解Winpcap编程,或者下载JAVA类:jpcap包构造ARP包,选择并打开网卡,将ARP包发送。-Familiar with and understand the Winpcap ARP protocol programming, or download a JAVA class: jpcap packet construction ARP packets, select and open the card, the ARP packet is sent.
tcpportscan
- 〈tcpportscan.zip〉是一个扫描开放端口的java小程序。它包括4个java类源代码,都在tcpportscan包中。-< tcpportscan.zip> is a scan for open ports java applet. It consists of four java class source code, in tcpportscan package.
tot-jsp-check
- 可以查看服务器上Request、Session、Cookie、Application的列表信息。查看是否安装常见的JAVA类库。查看服务器的内存使用情况。查看服务器的JVM相关的所有信息(版本、时区、编码、操作系统名称等)。-Can view the server Request, Session, Cookie, Application of a list of information. To see if the installation of common JAVA class libra