struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From albert kao <albertk...@gmail.com>
Subject scopedModelDriven and ScopedModelDrivenInterceptor
Date Mon, 06 Nov 2017 00:42:32 GMT
I am a Struts2 beginner.
I saw the scopedModelDriven and ScopedModelDrivenInterceptor mentioned in
chapter 14 "Migration from Struts Classic" in the "Struts 2 in  Action"
book by "Donald Brown, ...".

The Struts2 documentation said:

"public interface ScopedModelDriven<T>
extends ModelDriven
<https://struts.apache.org/maven/struts2-core/apidocs/com/opensymphony/xwork2/ModelDriven.html><T>

Adds the ability to set a model, probably retrieved from a given state."

Are scopedModelDriven and ScopedModelDrivenInterceptor used for mainly
for "Migration
from Struts Classic"?
If not, please provide more explanation and source code examples.
Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message