[SASTRUTS-95] 異なるActionFormのresetメソッドを呼ぼうとして失敗する問題を修正しました Created: 2008-09-08  Updated: 2008-09-08  Resolved: 2008-09-08

Status: Resolved
Project: SAStruts
Component/s: SAStruts
Affects Version/s: 1.0.4
Fix Version/s: 1.0.4-sp2

Type: Bug Priority: Major
Reporter: shuichi nakagawa Assignee: higa
Resolution: Fixed Votes: 0
Labels: None


 Description   

アクション
http://example.com/......../test
を呼び出した場合、呼び出し先のJSPに別のアクション(/..../test2)がある場合、
Test2Dtoに対し、TestDtoのresetメソッドを呼び出そうとして失敗する。

public class TestDto {
    public void reset() {
    }
}

public class Test2Dto {
    public void reset() {
    }
}

public class TestAction {
    @ActionForm
    public TestDto testForm;

    public String index() {
        return "test.jsp";
    }
}

public class Test2Action {
    @ActionForm
    public Test2Dto testForm;

    public String index() {
        return "test2.jsp";
    }
}
------------ test.jsp ----------
<html:html>
<body>
  <s:form action="/....../test2">
    ABC
  </s:form>
</body>
</html:html>


 Comments   
Comment by higa [ 2008-09-08 ]

対応しました。

Generated at Thu Apr 25 18:24:32 JST 2024 using Jira 9.15.0#9150000-sha1:9ead8528714127d8cfabf2446010d7e62c0a195c.