First of all, put that constants in struts.properties file next to
struts.xml
there are some problems with constants defined in struts.xml, some of them
does not work correctly

Then, you can create your namespace and mappings for images and csses, this
will add security,
and you will be able to hide real resource names

Also, to use restful urls you need only DefaultActionMapper, the other ones
are parameter automappers of restful urls, I do not use them

You can define your actions like this

<action name="account/*/*/public/*/somethingelse/*.html">
  <parameter name="first" value="{1}"/>
  <parameter name="second" value="{2}"/>
  <parameter name="third" value="{3}"/>
  <parameter name="forth" value="{4}"/>
  <parameter name="fifth" value="{5}"/>
</action>

Best,
Aram
________________________________
Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]

Reply via email to