public ActionForward treeFld_findAll( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { PrintWriter out = response.getWriter(); try { Long id = Long.parseLong(request.getParameter("id")); out.println(service.treeFld_findAll(id).toString()); } catch (Exception e) { e.printStackTrace(); Logger.getRootLogger().error(e.getMessage()); } finally { out.close(); } return null; }