Example usage for org.apache.commons.chain.web.servlet ServletWebContext getRequestScope

List of usage examples for org.apache.commons.chain.web.servlet ServletWebContext getRequestScope

Introduction

In this page you can find the example usage for org.apache.commons.chain.web.servlet ServletWebContext getRequestScope.

Prototype

public Map getRequestScope() 

Source Link

Usage

From source file:org.apache.struts.chain.servlet.PopulateActionForm.java

protected void reset(Context context, ActionConfig actionConfig, ActionForm actionForm) {

    ServletWebContext swcontext = (ServletWebContext) context;
    actionForm.reset((ActionMapping) actionConfig, swcontext.getRequest());

    // Set the multipart class
    if (actionConfig.getMultipartClass() != null) {
        swcontext.getRequestScope().put(Globals.MULTIPART_KEY, actionConfig.getMultipartClass());
    }//from  ww w . j  av  a 2  s . c  om

}