예제 #1
0
 public String doDelete(Stock b) {
   stocklocal.delete2(b);
   init();
   return null;
 }
예제 #2
0
 public String doAdd() {
   stocklocal.add(stock);
   System.out.println("Im inside ADD************");
   return null;
 }
예제 #3
0
 public String doUpdate() {
   stocklocal.update2(stock);
   init();
   return null;
 }
예제 #4
0
 @PostConstruct
 public void init() {
   stocks = stocklocal.readAll();
   stock = new Stock();
 }