Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(operation.equals("createCategory")){
- try{
- System.out.println("Started createCategory");
- fLocal = fLocalHome.create();
- System.out.println("Created facade");
- String cName = req.getParameter("cName");
- CategoryVO cvo = new CategoryVO(cName);
- fLocal.createCategory(cvo);
- req.setAttribute("AllCategories", cvo);
- url = "/findCategories.jsp";
- }
- catch(Exception e){
- e.printStackTrace();
- System.out.println("Wrong when you trying to create Category");
- }
- }
Add Comment
Please, Sign In to add comment