@Override public String execute() throws Exception { DienthoaiDAO dao = new DienthoaiDAO(); System.out.println("inside ViewMobileByPriceAction"); System.out.println("minPrice = " + minPrice); System.out.println("maxPrice = " + maxPrice); dienthoais = dao.getDienthoaiByPriceRange(minPrice, maxPrice); // Dienthoai firstOne = dienthoais.get(0); // // ValueStack stack = ActionContext.getContext().getValueStack(); // Map<String, Object> context = new HashMap<String, Object>(); // context.put("firstOne", firstOne); // stack.push(context); return SUCCESS; }