FileDocCategorySizeDatePackage
ProcessInputAction.javaAPI DocExample850Tue Mar 30 23:50:08 BST 2004com.oreilly.strutsckbk

ProcessInputAction

public final class ProcessInputAction extends org.apache.struts.action.Action

Fields Summary
Constructors Summary
Methods Summary
public org.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

      ValueHolder bean = new ValueHolder();
      bean.setValue1( Integer.parseInt(request.getParameter("value1")) );
      bean.setValue2( Integer.parseInt(request.getParameter("value2")) );
      request.setAttribute( "valueHolder", bean );
   	return (mapping.findForward("success"));