struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamholz, Keith (corp-staff) USX" <kkamh...@moog.com>
Subject RE: [SOLVED] Default methodName for DispatchAction
Date Wed, 02 Jun 2004 13:21:34 GMT
Awesome, thanks for posting the solution.  I've been wondering how to do
just that.
Hopefully it'll work the same for a LookupDispatchAction, I'll find out in
just a few.
** Crosses fingers **


- Keith



-----Original Message-----
From: Kunal H. Parikh [mailto:kunalp@carsales.com.au]
Sent: Tuesday, 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(
            ActionMapping mapping,
            ActionForm form,
            HttpServletRequest request,
            HttpServletResponse response)
            throws Exception {
===========

Thanks,

Kunal
-----Original Message-----
From: Kunal H. Parikh [mailto:kunalp@carsales.com.au] 
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 possible to have a "default" method called when
there is no parameter matched or the parameter is null.


TIA,

Kunal



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





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

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


Mime
View raw message