/** * View special price details * * @param request HttpServletRequest * @param form ActionForm * @return String Return details page,forward = "detial" */ public String specPriceViewDetial(HttpServletRequest request, ActionForm form) { String forward = "detial"; try { String chkId = (String) request.getParameter("id"); chkId = chkId.trim(); if (chkId != null && !chkId.equals("")) { // SpecPriceBo bo = new SpecPriceBo(); SpecPriceForm uf = new SpecPriceForm(); uf = specPriceBo.find(chkId); request.setAttribute("specPriceForm", uf); } } catch (Exception e) { e.printStackTrace(); } return forward; }