摘要:
According to TLD or attribute directive in tag file, attribute items does not accep t any expressions 解决方法:把<%@ taglib uri="http://java.sun.com/jstl/c 阅读全文
摘要:
/** * 客户端线程接收类 * @author * */public class ClientRecive extends Thread{ public Socket socket; public ClientRecive(Socket socket) { super(); this.socket 阅读全文
摘要:
/** * 客户端发送请求线程 * @author Administrator * */public class ClientSendDome extends Thread{ public Socket client; public ClientSendDome(Socket client) { s 阅读全文
摘要:
/** * 客户端类 * @author Administrator * */public class ClientDome { //客户端类 public static void main(String[] args) { try { /** * 1:创建客户端的套接字对象,连接到指定IP地址和端 阅读全文
摘要:
/** * 服务器聊天类 * @author Administrator */public class ServerThread extends Thread { //List集合用于保存每一个连接本服务器的客户端Socket对象 public static List<Socket>list = n 阅读全文
摘要:
服务器类 /** * 服务器 * @author Administrator * */public class Server { public static void main(String[] args) { try { ServerSocket server = new ServerSocket 阅读全文
摘要:
《Servlet类的Java》 @WebServlet("/studentServlet") public class StudentServlet extends HttpServlet { private static final long serialVersionUID = 1L; /** 阅读全文
摘要:
package com.yangchong.fanyi; import java.awt.EventQueue;import java.awt.Toolkit; import javax.swing.JFrame;import javax.swing.JPanel;import javax.swin 阅读全文
摘要:
package com.yangchong.fanyi; import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;i 阅读全文
摘要:
解析XML文档 public static void main(String[] args) throws Exception { //创建解析工厂对象 XmlPullParserFactory xmlFactory = XmlPullParserFactory.newInstance(); //获 阅读全文