Yes, I tried setting that constant but that makes every static file not to be served by tomcat.
with:
'struts.action.extension='
there won't be .css .html .js

There must be another way. I have seen examples of custom mappers without .action but I don't seem to be able to make them work in struts 2.x

Perssy Llamosas

Don Brown wrote:
You'll need to tell Struts to not use an action extension.  I believe
the setting is 'struts.action.extension=', so by setting it to
nothing, it now won't require the '.action' extension.  You shouldn't
need to use the restful2 action mapper for this to work.  Be warned,
it may not be fully compatible with all the tags.

Don

On 7/10/07, yitzle <[EMAIL PROTECTED]> wrote:
I found this via Google

http://struts.apache.org/2.0.8/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.html > Default action mapper implementation, using the standard *.[ext] (where ext usually "action") > pattern. The extension is looked up from the Struts configuration key struts.action.exection.

HTH

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to