What is the mechanism to instantiate your own FormBean instead of the RequestProcessor?
I want FormAction 1 to create a FormBean A and then store it in the request scope. The FormAction 1 then forwards to another FormAction 2 which requires FormBean in the request scope. I do not want the RequestProcessor to create the FormBean A, instead it should utilize the one from the request.. The RequestUtils.createActionForm() has the following code: ActionForm instance = null; HttpSession session = null; if ("request".equals(mapping.getScope())) { instance = (ActionForm) request.getAttribute(attribute); } else { session = request.getSession(); instance = (ActionForm) session.getAttribute(attribute); } I can assume that if in my FormAction 1 if I store the FormBean A within the "request" scope then it should work without me subclassing any of the RequestProcessor, is this correct? What should be the request attribute key for the storage of the FormBean A? Should it be the "name" of the action tag in the struts-config.xml? <!-- Action wrapper around compressed,jsp --> <action path="/compressedView" forward="/compressed.jsp" name="compressedInfoForm" scope="session" validate="true" input="/selectView.do"/> request.setAttribute("compressedInfoForm", new FormBeanA(.....)); Is there any attribute name mangling happening in the Struts framework? On a side note, how can I turn on the log so that I can see this output from the RequestUtils // Look up any existing form bean instance if (LOG.isDebugEnabled()) { LOG.debug( " Looking for ActionForm bean instance in scope '" + mapping.getScope() + "' under attribute key '" + attribute + "'"); } Thanks -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>