struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <jeromy.ev...@blueskyminds.com.au>
Subject Re: CodeBehind and index action?
Date Sun, 13 Jul 2008 07:56:26 GMT
Paul Benedict wrote:
> Anyway to accomplish this in 2.0? Have you ever did it? Just looking for a
> quick answer, even if that includes adding action mappings to the config.
>
> Paul
>   

A quick solution is to extend the DefaultActionMapper to set the 
actionName to index if it looks like a directory/there's no other 
match/if an IndexAction exists in the package.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message