I'd have to see more of the package configuration to be certain... Generally, when I've seen SlashesInActionNames it isn't mapping to the top of the package. For instance, I'd expect this to work -
<package name="top" namespace="/" extends="struts-default"> <action name="some/name/with/*" class="actionBean"> <result>success-result.jsp</result> </action> </package> -Wes On Sat, Jul 17, 2010 at 12:16 PM, JP Cafaro <jcafar...@gmail.com> wrote: > I can't get this struts2 constant to work: > <constant name="struts.enable.SlashesInActionNames" value="true"/> > > I have this wildcard mapping: > [ <action name="/secure/**" class="actions.secure.SecurePassThrough"> > <interceptor-ref name="secureStack"/> > <result>{1}</result> > </action> > > When I try and go to http://localhost:8080/Struts2NewChapter8/secure/blah I > get an error: "There is no Action mapped for namespace /secure and action > name blah." Why does this happen? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org