Not sure what you mean here, but there is an "unspecified" method for
methods that are unspecified.

Jack


On Sun, 27 Mar 2005 08:57:39 -0800, Nic Werner <[EMAIL PROTECTED]> wrote:
> That was exactly what I needed, thanks Wendy.
> 
> Wendy Smoak wrote:
> 
> > From: "Nic Werner" <[EMAIL PROTECTED]>
> >
> >> I call this with: addDevice.do?method=edit
> >> and: addDevice.do?method=update
> >>
> >> The param for the first page seems a bit extraneous, is there a way
> >> that DispatchAction can just call a default method if the param isn't
> >> specified? I would like to just call: addDevice.do and have it bring
> >> up the form. I haven't seen mention of this practice or ability in
> >> any docs.
> >
> >
> > Take a look at DispatchAction.unspecified(...)
> > http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html
> >
> >
> > (And just looking ahead:  are you using any JavaScript?  I remember
> > having trouble with either "method" or "action" as a form element
> > name.  If you're trying to set the value of one of those as a form
> > property, it seems that there is confusion between the action and
> > method attributes of the <form> tag vs. actual form elements with
> > those names.)
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to