예제 #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;
 }
예제 #2
0
  public String jumpproductedit() {
    clothesProduct = clothesProductService.getClothesProductById(productId);
    clothesChecks = clothesCheckService.getAllClothesCheck();

    return "changeproductedit";
  }