On 8/2/06, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
Classes named FooAction map to the action named "foo" Paths come from sub-packages inside of com.acme.actions. Ex: com.acme.actions.foo.BarAction -> /foo/bar
If we conform the case, and drop the "Action" suffix, this turns into a very clean wildcard expression: * <action name="*/*" class="com.acme.{1}.{2}"> So the action reference for "whatever.foo.Bar" would be "/foo/Bar"
Results map to the same directory path with the addition of "-success"
If we use the packages for folder names, and the class names for page names, then we could use another clean wilcard expression. * <result>/{1}/{2}.jsp</result> So, the nominal result for the foo.Bar action would be /foo/Bar.jsp. We could consider providing some wildcard defaults in the default package, which people could then tweak and override as needed. -T. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]