struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <ekb...@swbell.net>
Subject Re: Initialization in a dispatchAction class
Date Mon, 29 Jul 2002 15:05:55 GMT
wbchmura@Ensign-BickfordInd.com wrote:

>Heya,
>
>I have a number of DispatchAction based classes that run various 
>reports.  They also handle the pre-population of the report request 
>screen drop down boxes...   This is handled currently with an "init" 
>method.  So the first time a screen calls the report selection page is 
>submits it as:   actioname.do?action=init
>
>I dont like this.   I would prefer:
>
>(1) To institute init as the default method if the parameter is not 
>present...
>(2) Have another action that starts it by transparently calling the 
>class and adding on the action=init
>
>
>I've played with a bunch of different ways and it all seems to fail 
>me...
>
>Any ideas?
>
Perhaps you could save us the effort of suggesting things you have 
already tried by telling us what you have tried? :-)


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


Mime
View raw message