[ http://issues.apache.org/struts/browse/WW-1347?page=comments#action_37854 
] 
            
Don Brown commented on WW-1347:
-------------------------------

Actually, the execute method should work just fine with the original mapping 
with the url "Logon".  Therefore, the mapping:
  <action name="Logon!*" class="mailreader2.Logon" method="{1}">

matches and calls:

Logon -> Logon.execute()
Logon!delete -> Logon.delete()

and so on.  This works because the wildcard pattern handling inserts a second 
pattern, one that removes the previous character for this very usecase.  When 
the wildcard matches nothing, a blank string is put into the method attribute.  
If  a blank string is present, the ActionInvocation assumes "execute".

> SAF1 Features to Implement
> --------------------------
>
>                 Key: WW-1347
>                 URL: http://issues.apache.org/struts/browse/WW-1347
>             Project: Struts 2
>          Issue Type: Task
>          Components: Documentation
>            Reporter: Ted Husted
>         Assigned To: Don Brown
>             Fix For: 2.0.0
>
>
>  
>  * Wildcard Action Mappings - Complete
>  *  DynaForm as Model Object
>  *  Extends for action mappings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to