public BasketViewHelper getBasketViewHelper(HttpServletRequest req) {
		
		BasketViewHelper basketViewHelper = new BasketViewHelper();
		
		basketViewHelper.setBasket(
				(Basket)req.getSession().getAttribute("basket"));
		
		String id;
		if ((id = req.getParameter("id")) != null) {
			basketViewHelper.setId(Integer.parseInt(id));
		}
		
		return basketViewHelper;
	}