今天完成了作业的前两个查询,
完成了线路查询,站点查询
下面是演示
代码如下
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript"> function popOne(){ var a='${test}'+"线路"; alert(a); } </script> <meta charset="UTF-8"> <title>Insert title here</title> </head> <body> <form action="Servse" method="post"> <center> <p>请输入要查询的线路号 <input type="text" name="nol"/> </p> <input type="hidden" name="method" value="find"/> <p> <input type="submit" value="查询"> </p> </center> </form> <form action="Servse" method="post"> <center> <p>请输入要查询的站点 <input type="text" name="name"/> </p> <input type="hidden" name="method" value="findd"/> <p> <input type="submit" value="查询"> <input type="submit" onclick="popOne()" value="提示框显示"> </p> </center> </form> </body> </html>
标签:总结,站点,14,查询,线路,2023,输入 From: https://www.cnblogs.com/JJTyyds/p/17216646.html