struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Roughley <...@fdar.com>
Subject Re: s2 and DispatchAction
Date Mon, 12 Nov 2007 16:51:34 GMT
I wonder if you could use OGNL, i.e. ${paramName}, although I have not 
tested it.

acogoluegnes@sqli.com wrote:
> as far as I know, no  :-(
>
>   
>> How can i use a parameter to choose wich action executed?
>>
>> I have a crud action etc user.action
>> is it possible to choose the action  fires  with a paramenter like
>> user.action?action=list rather  than user!list.action?
>>
>>
>>
>> acogoluegnes@sqli.com wrote:
>>     
>>> using wildcard:
>>>
>>> <action name="/home_*" method="{1}">
>>>
>>> </action>
>>>
>>> action URL for method login: /home_login
>>>
>>> see : http://struts.apache.org/2.x/docs/wildcard-mappings.html
>>>
>>>
>>>
>>>
>>>       
>>>> Hello
>>>>
>>>> In struts 1.x was using the DispatchAction  and with a parameter like
>>>> action choosed wich action executed. Is there a way to do thiw in S2?
>>>>
>>>> tnx
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message