You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bayarsaikhan VOLODYA <ba...@gmail.com> on 2005/07/15 16:33:07 UTC

hi

hi all,

currently, i set action parameter manually. i mean
/user.do?action=edit

i dont want this one. i want to set it up like this. Telling no Parameter.
/userEdit.do
/userDelete.do
...
with no parameter but one action class that extends DispathAction.
how can i handle it?

-- 
Bayarsaikhan VOLODYA

Re: hi

Posted by Hubert Rabago <hr...@gmail.com>.
Extend MappingDispatchAction instead:
http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html

Your config would look like:

   <action path="/userEdit"
           type="bayarsaikhan.YourAction"
      parameter="edit"/>

   <action path="/userDelete"
           type="bayarsaikhan.YourAction"
      parameter="delete"/>



On 7/15/05, Bayarsaikhan VOLODYA <ba...@gmail.com> wrote:
> hi all,
> 
> currently, i set action parameter manually. i mean
> /user.do?action=edit
> 
> i dont want this one. i want to set it up like this. Telling no Parameter.
> /userEdit.do
> /userDelete.do
> ...
> with no parameter but one action class that extends DispathAction.
> how can i handle it?
> 
> --
> Bayarsaikhan VOLODYA
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org