/** * Do actual work for filling. * * @param request The servlet request we are processing * @param result The servlet response we are creating * @param chain The filter chain we are processing * * @exception IOException if an input/output error occurs * @exception ServletException if a servlet error occurs */ public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { String beanName = ((HttpServletRequest)request).getParameter("formbean"); System.err.println(" form bean is " + beanName); Class beanClazz = null; Object beanObject = null; boolean isValid = false;