Also, in regard to security, we can require that methods invoked with the ! convention have a @Public annotation or something. Method explicitly listed in the struts.xml won't need this annotation.
Wildcards will make it harder to differentiate these two cases. You could argue that you don't need the annotation at all because the effect is localized to one action, but I'm not sure that makes me feel any better. The other problem with wildcards is now I have this pattern repeated throughout my configuration (possibly inconsistently) instead of provided as a first class feature. I personally want my configuration and URL pattern decoupled as much as possible. For example, I don't want to see ".action" in my redirect results and form actions. Bob On 8/25/06, Nick Hill <[EMAIL PROTECTED]> wrote:
I am one of the engineers at Jive Software (the company that provides these forums for opensymphony) and we use the ! method syntax all over the place. As an example, when you are replying to this post, note the post!reply.jspa url. As a heavy user of webwork, I must say that I have to agree with Patrick in this case. Our xml config file is already enormous and having to duplicate definitions for different methods of the same action would be a real mess. I don't really care about what is set as the "default", but I would really hate to see the ! syntax go away. Nick --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=40932&messageID=82476#82476 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]