struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: Inicialiazing a LookupDispachAction
Date Fri, 01 Oct 2004 17:08:51 GMT
From: "Gabriel Fran├ža Campolina" <gabrielfc@gmail.com>
> I'd like know more about this, if I don't set a value to variable
> method, what method will call in my action???
> ex in my url:
>  if I do:
>     .../produto.do?method= ????//how call my methods to
> lookupdispachaction(method=button.delete or method=delete)
>        if I don't pass any value how method in my action is call

There is an 'unspecified' method that you can override to provide a behavior
when the parameter is missing from the request.  I usually just have it
return 'mapping.getInputForward()'.

-- 
Wendy Smoak


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


Mime
View raw message