首页 > 代码库 > city1.jsp

city1.jsp

<%
String str = request.getParameter("province");
if("hn".equals(str)) {

   out.println("zz,郑州|kf,开封|ly,洛阳|pds,平顶山|ay,安阳|hb,鹤壁|xx,新乡|jz,焦作|py,濮阳|xc,许昌|lh,漯河|smx,三门峡|ny,南阳|sx,商丘|xy,信阳|zk,周口         |zml,驻马店");

} else if ("sx".equals(str)) {
   out.println("xa,西安|tc,铜川|bj,宝鸡|xy,咸阳|wn,渭南|hz,汉中|sl,商洛|ak,安康|ya,延安|yl,榆林");
} else if("sd".equals(str)) {
   out.println("jn,济南|ta,泰安|zb,淄博|qf,曲阜|ls,梁山|hz,菏泽|qd,青岛|wf,潍坊|wh,威海|yt,烟台|zz,枣庄|sg,寿光");
}
%>

city1.jsp