daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Jul 13th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. else if(operation.equals("createCategory")){
  2.                 try{
  3.                     System.out.println("Started createCategory");
  4.                     fLocal = fLocalHome.create();
  5.                     System.out.println("Created facade");
  6.                     String cName = req.getParameter("cName");
  7.                     CategoryVO cvo = new CategoryVO(cName);
  8.                     fLocal.createCategory(cvo);
  9.                     req.setAttribute("AllCategories", cvo);
  10.                     url = "/findCategories.jsp";
  11.                    
  12.                 }
  13.                 catch(Exception e){
  14.                     e.printStackTrace();
  15.                     System.out.println("Wrong when you trying to create Category");
  16.                    
  17.                 }
  18.             }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top