Esempio n. 1
0
 public String addproduct() throws Exception { // link to add.jsp
   initServlet();
   try {
     if (clothesProduct != null) clothesProduct = null; // 清空舊資料
     clothesChecks = clothesCheckService.getAllClothesCheck();
     resultPage = "shopedit";
   } catch (Exception e) {
     e.printStackTrace();
   }
   return resultPage;
 }
Esempio n. 2
0
  public String jumpproductedit() {
    clothesProduct = clothesProductService.getClothesProductById(productId);
    clothesChecks = clothesCheckService.getAllClothesCheck();

    return "changeproductedit";
  }