<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ require '../../model/com.gogetrich.dao/CategoryDaoImpl.php'; require '../../model/com.gogetrich.service/CategoryService.php'; require '../../model/com.gogetrich.model/CategoryVO.php'; $cateDao = new CategoryDaoImpl(); $cateService = new CategoryService($cateDao); $cateName = $_GET['cateName']; $cateVO = new CategoryVO(); $cateVO->setCateID($_GET['cateID']); $cateVO->setCateName($cateName); $cateVO->setCateDate($_GET['cateDate']); echo $cateService->updateCourseCate($cateVO);