Por exemplo:
 
<action
    path="/menu/find"
    type="org.apache.struts.scaffold.ParameterAction"
    name="menuForm"
    validate="false"
    parameter="keyValue"
    <forward
        name="title"
        path="/do/find/Title?title="/>
    <forward
        name="title"
        path="/do/find/Author?creator="/>
    <forward
        name="title"
        path="/do/find/Content?content="/>
</action>   
 
Dado o JSP:
 
<html:form action="">
<tr>
    <td>Find articles by: </td>
    <td>
        <html:select property="dispatch">
            <html:option value="title">Title<html:option>
            <html:option value="author">Author<html:option>
            <html:option value="content">Content<html:option>
        </html:select>
        <html:text property="keyValue"/>
    </td>
    <td><html:submit>GO</html:submit></td>
</tr>
</html:form>
 
Não sei bem se é o teu caso!!! Se não for me avise, vou dar uma olhada melhor!!!
----- Original Message -----
Sent: Friday, February 28, 2003 5:57 PM
Subject: Re: [java-list] struts

vc. pode me falar um pouquinho mais sobre ele e onde eu acho ?
 
----- Original Message -----
Sent: Friday, February 28, 2003 2:25 PM
Subject: Re: [java-list] struts

Existem vários tipode de Action, talvez o ParameterAction resolva.
----- Original Message -----
Sent: Friday, February 28, 2003 11:46 AM
Subject: [java-list] struts

Alguem ja trocou o action de um form usando struts
 
tipo vc tem botao de incluir, alterar, excluir -> dependendo do botao, o seu action do form executa coisas diferentes

Responder a