Paul Benedict wrote:
Does the CodeBehind plugin allow me to specify a default action for a
directory? So that way I can just do /dir instead of /dir/index.action? If
not, how can I do it? I want any directory to go invoke index.action

I am using Struts 2.0.11

Paul

No, that's a feature of the Convention plugin in 2.1.x though.

A simple alternative is to write a custom ActionMapper that extends the default and sets the action name to index if there was no other match and no extension.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to