首页 > 代码库 > city2.jsp

city2.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String str = request.getParameter("city");
if("jn".equals(str)) {
   out.println("zq,章丘|cq,长清|hyq,槐荫区|lxq,历下区|tqx,天桥区|lcq,历城区|szq,市中区");
} else if ("hz".equals(str)) {
   out.println("cx,曹县|sx,单县|yc,郓城|dm,东明|mdq,牡丹区|cw,成武|jc,鄄城|jy,巨野");
} else if("sq".equals(str)) {
   out.println("mq,民权|cx,昌邑");
}
%>

city2.jsp