I try to use Struts 1 with spring, my action run ok with execute() method,
but i like to use one diferent method to any action like:
userList, userDelete, userUpdate etc....
To do this i use this confi on my struts config, but a error is show when i
try execute the action usuarioList.do.
<action
path="/usuarioList"
name="usuarioForm"
type="org.springframework.web.struts.DelegatingActionProxy"
scope="request" parameter="method"
>
<forward name="sucesso" path="/UsuarioList.jsp" />
<forward name="list" path="/UsuarioList.jsp"/>
<forward name="edit" path="/UsuarioList.jsp"/>
</action>
Error log
StandardWrapperValve[action]: Servlet.service() for servlet action threw
exception
javax.servlet.ServletException: Request[/usuarioList] does not contain
handler parameter named 'method'. This may be caused by whitespace in the
label text.
at org.apache.struts.actions.DispatchAction.unspecified(
DispatchAction.java:222)
at org.apache.struts.actions.DispatchAction.dispatchMethod(
DispatchAction.java:256)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java
:194)
--
Ádamo B. Azambuja
JEE Developer
icq: 112102893
msn: [EMAIL PROTECTED]
E-Mail 1: [EMAIL PROTECTED]
E-Mail 2: [EMAIL PROTECTED]