Exemplo n.º 1
0
 /** 显示用户信息 设置城市列表 */
 public String Show() {
   Map<Integer, String> provinceMap = CityUtil.getProvince_all();
   request.setAttribute("ProvinceMap", provinceMap);
   System.out.println(user.getProvince_name());
   return "UserCenter.jsp";
 }
Exemplo n.º 2
0
 /** Ajax传入provinceName改变City列表 */
 public String ChangeCity() {
   cityMap = CityUtil.getCity_all(provinceName);
   return "ChangeCityAjax";
 }