Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[s2] SlashesInActionNames + wildcard mapping

zafer Mohamed

2007-03-18


Hi There,

I have set the below property in my struts.properties

struts.enable.SlashesInActionNames = true

And in my struts.xml I have

    <action name="*" >
      <result>/view/{0}.jsp</result>
    </action>

Now when I try to access the url "/app/user/profile.zm/ where "app" is my namespace, I get the error

There is no Action mapped for action name user/profile. - [unknown location]

I have tried using "*/*" as wild card , but no luck. Is it a bug..?

Thanks
Zafer Mohamed





____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
©2008 junlu.com - Jax Systems, LLC, U.S.A.