I've added Joe Walnes' Component stuff and modified it to fit in the
Interceptor framework. It's really cool. I recommend that  you check out the
sources and run the "example-war" target. As you can see, each time you
reload, the counter will increment. The cool thing is that if you look at
the code for SimpleCounter, you'll see it is just:

public String execute(Map context) {
 counter.incrementCounter();
 return SUCCESS;
}

The ComponentInterceptor automatically handles the rest based on the
information found in src/example/components.xml.

-Pat




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to