If you have your <action> parameter="hello,goodbye,default=hello"

Have two methods:
public ActionForward hello(ActionMapping,
ActionForm,HttpServletRequest,HttpServletResponse)
public ActionForward goodbye(ActionMapping,
ActionForm,HttpServletRequest,HttpServletResponse)

Have also three submit buttons:
<html:submit value="hello" />
<html:submit value="goodbye" />
<html:submit value="nevermind" />

First button will execute hello(), second goodbye(), third hello()

Paul

On 8/23/07, Venu Madhav <[EMAIL PROTECTED]> wrote:
>
> hi,
> I am getting following exception if I remove default method in
> struts-config.xml
>
> javax.servlet.ServletException: Request[/event] does not contain handler
> parameter.
>
> can any body help me
>
>
> --
> Regards,
>
>
> Venu madhav.Yelamanchili
> Developer,
> WCS Team,
> Miracle Software Systems,
> [EMAIL PROTECTED]
> Ph.No:+919963503613
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to