01: // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
02:
03: package madvoc;
04:
05: import jodd.madvoc.meta.*;
06: import jodd.madvoc.interceptor.EchoInterceptor;
07: import jodd.madvoc.interceptor.DefaultMadvocInterceptors;
08:
09: @MadvocAction("postForm")
10: @InterceptedBy({EchoInterceptor.class,DefaultMadvocInterceptors.class})
11: public class FormAction {
12:
13: @In
14: @Out
15: FooFormBean foo;
16:
17: public String execute() {
18: System.out.println("FormAction.execute");
19: System.out.println(foo.toString());
20: return "/form";
21: }
22: }
|