Thanks for that Kishore, I was wondering how the request parameter gets set to null. Because, we include the request parameter as a hidden property in the JSP, the javascript method is always called with a hard coded string as argument e.g. html:submit onclick="setAction('applyChanges')" value="Apply Changes" , and the parameter has a default value set in the form.
Just as a side note, we are using https. Could there be a problem with the version of Internet Explorer we are running. I have seen from the mailing list that there have been issues with IE 6 SP1 and SSL. Thanks Mike. ----- Original Message ----- From: "Kishore Senji" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 11, 2004 2:52 PM Subject: Re: Intermittent problem with DispatchAction > On Wed, 11 Aug 2004 13:37:40 +0100, Michael Searles > <[EMAIL PROTECTED]> wrote: > > > > Hi Folks, > > > > I am using a DispatchAction which switches between several methods depending on the value of the forwarding parameter which is set in the JSP(see code snipet below). > > > > The DispatchAction is fine approx 80% of the time, but ocassionally and without warning, I get the following DispatchAction error -- > > ERROR [apache.struts.actions.DispatchAction] Request[/admin/UserDetails] does not contain handler parameter named action. > > "action", Your request parameter, which drives which method to > dispatch to, is null for that particular request. > > Thanks, > Kishore Senji. > > > > > Its difficult to trace this problem because of its intermittent nature and unfortunatley i can't provide more detailed info at this time. > > > > Any help wouuld be appreciated. > > Mike. > > > > I am using Internet Explorer 6 with Struts Version 1.1 > > > > Code Snipet. > > > > ***** javascrip fuction ******* > > function setAction(val) { > > document.forms[0].action.value=val; > > } > > *************************** > > <html:submit onclick="setAction('applyChanges')" value="Apply Changes" tabindex="12" /> > > <html:cancel onclick="bCancel=true;setAction('show')" value="Discard Changes" tabindex="11"/> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]