HI, I have extended the ScopeModelDrivenInterceptor to reset the model in session based on some criteria. I have overridden the resolveModel method of ScopeModelDrivenInterceptor as below. I am using this for wizard flow.
protected Object resolveModel(ObjectFactory factory, ActionContext actionContext, String modelClassName, String modelScope, String modelName) throws Exception { Object model = null; Map<String, Object> scopeMap = actionContext.getContextMap(); if ("session".equals(modelScope)) { scopeMap = actionContext.getSession(); } model = scopeMap.get(modelName); if (model == null || "start".equals(type)) { model = factory.buildBean(modelClassName, null); scopeMap.put(modelName, model); } return model; } But still in the action class I get the original model. The model is not reset to default values. Thanks in advance. Regards, Shrinivas