, June 01, 2004 10:11 PM
To: 'Struts Users Mailing List'
Subject: RE: [SOLVED] Default methodName for DispatchAction
Hi All!
Just went through the source code.
This problem can be attacked by overriding the method unspecified(...)
===
public ActionForward unspecified
,
HttpServletResponse response)
throws Exception {
===
Thanks,
Kunal
-Original Message-
From: Kunal H. Parikh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 June 2004 11:53
To: 'Struts Users Mailing List'
Subject: Default methodName for DispatchAction
Hi All!
I
]
|
| cc:
|
| Subject: RE: [SOLVED] Default methodName for DispatchAction
-Original Message-
From: Nicholas L Mohler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 10:37 AM
To: Struts Users Mailing List
Subject: RE: [SOLVED] Default methodName for DispatchAction
Most likely the browseType parameter is not defined in you page, so it is
not submitted
PROTECTED]
Sent: Wednesday, June 02, 2004 10:37 AM
To: Struts Users Mailing List
Subject: RE: [SOLVED] Default methodName for DispatchAction
Most likely the browseType parameter is not defined in you page, so
it is
not submitted.
If you're using the struts submit buttons, you probably have
Subject: RE: [SOLVED] Default methodName for DispatchAction
Hm
It's not working for me. I have a form with 4 different submit buttons.
I'm trying to get it to execute the 'unspecified' method of my
LookupDispatchAction when the user presses 'Enter' rather than clicking on
a
button
Users Mailing List' [EMAIL PROTECTED]
|
| cc:
|
| Subject: RE: [SOLVED] Default methodName for DispatchAction
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 11:21 AM
To: Struts Users Mailing List
Subject: Re: [SOLVED] Default methodName for DispatchAction
With the stable release of 1.1 you need to pass the parameter through
usually
/foo.do?method=save
but to get the unspecified method running
: Re: [SOLVED] Default methodName for DispatchAction
You should look at the source code for the version of DispatchAction
and
LookupDispatchAction (available either from a download of src or the
cvs
repository). Older builds just threw an exception if LDA didn't find a
parameter for method. You
Hi All!
I was wondering if it were possible to have a default method called when
there is no parameter matched or the parameter is null.
TIA,
Kunal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
response)
throws Exception {
===
Thanks,
Kunal
-Original Message-
From: Kunal H. Parikh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 June 2004 11:53
To: 'Struts Users Mailing List'
Subject: Default methodName for DispatchAction
Hi All!
I was wondering if it were
11 matches
Mail list logo