struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Becky.L.O'
Subject Re: S2: /action/* - is it possible?
Date Wed, 16 Jul 2008 17:03:26 GMT
It's possible - we're doing it:

<constant name="struts.enable.SlashesInActionNames" value="true" />


<action name="web**" class="...">

We also noticed Struts accepts web.action or just web, so our URLs look
like this  <-- web action is invoked


I've done *.do or /do/* in S1.

Is it possible in S2 to map a URI fragment (not extension) to invoke the
action? Can someone show me an example how?


This message, together with any attachments, is
intended only for the use of the individual or entity
to which it is addressed. It may contain information
that is confidential and prohibited from disclosure.
If you are not the intended recipient, you are hereby
notified that any dissemination or copying of this
message or any attachment is strictly prohibited. If
you have received this message in error, please notify
the original sender immediately by telephone or by
return e-mail and delete this message, along with any
attachments, from your computer. Thank you.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message