WebWork2のAction設定をS2Containerから自動登録③

こんな感じでannotationでResultを設定。typeのdefaultはdispather。
おなじ感じでInterceptor,Exception-Mappingなどを指定できる感じで良いのかな?
Interceptorはdefaultの設定、exception-mappingはglobalの設定をxwork.xmlに記載しておけば、とりあえずまかなえそう。
とりあえず、xwork.xmlを書く量は減る。

@Results(result = {
  @Result(name = "input", location = "test/input.html"),
  @Result(name = "success", location = "search", type = Type.redirectAction)
  })
public class TestActionImpl extends ActionSupport implements TestAction, ModelDriven {