摘要:
查询不到跳转到该界面,其实差不多 <%@ page language= "java" contentType= "text/html; charset=UTF-8" pageEncoding= "UTF-8" %><!DOCTYPE html><html xmlns="http://www.w3.o 阅读全文
摘要:
<%@ pag主界面e language= "java" contentType= "text/html; charset=UTF-8" pageEncoding= "UTF-8" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/html"> 阅读全文
摘要:
查询public class Sub { public ArrayList<SubwayBean> ArrayTransferStation(String station1, String station2){ ArrayList<SubwayBean> resultArray = new Arra 阅读全文
摘要:
jsp界面 <%@ page import="com.DB" %><%@ page import="java.util.ArrayList" %><%@ page language= "java" contentType= "text/html; charset=UTF-8" pageEncodin 阅读全文
摘要:
地铁路线查询@WebServlet("/SubwayLine")public class SubwayLine extends HttpServlet { protected void doGet(HttpServletRequest req, HttpServletResponse resp) t 阅读全文
摘要:
@WebServlet("/SubwayMain")public class SubwayMain extends HttpServlet { @Override public void init() throws ServletException { } @Override protected v 阅读全文
摘要:
连接数据库 public class DB { public Connection conn = null; public Statement stmt = null; public ResultSet rs = null; String url = "jdbc:mysql://localhost: 阅读全文