Java Mailing List Archive

http://www.junlu.com/

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

[s2] SlashesInActionNames

Dave Newton

2007-02-01


Is struts.enable.SlashesInActionNames in 2.0.4?

struts.xml:
<struts>
<constant name="struts.enable.SlashesInActionNames"
       value="true"/>
<package name="default" extends="struts-default">
  <action name="foo/bar"
       class="test.QuuxAction">
   <result type="tiles">/test/Quux.page</result>
  </action>
  <!-- ... -->
</package>
</struts>

I am getting the "There is no Action mapped for
namespace..." error that I got before I set
SlashesInActionNames in 2.0.3.

tia,
d.




____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.