Hello all! We're migrating our code from struts1 to struts2 and I consider 
using struts2-struts1-plugin. In accordance to this, I need some clarifications 
about logic of ScopedModelDrivenInterceptor. 

Looking into intercept() method: 

1. Interceptor checks whether class implements ScopedModelDriven - this is good 
2. Interceptor tries to use className - this is good 
3. (in try-catch block) Interceptor tries to get the type of getModel() method 
and (later on) instantiate a bean - this just crashes if return type is an 
abstract class or an interface, such as ActionForm in struts1 plugin. I think 
the last step should be removed from interceptor or the corresponding checks 
added.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=103668&messageID=172755#172755


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to