Re: default scope for struts actions

2001-10-27 Thread John Yu
I've double checked the doco and the code. You're right, emmanuel. I can't remember where I got the wrong impression the default scope is 'request'... At 02:04 pm 26-10-2001 +0200, you wrote: I'm not sure, I think default scope is session. see this in ActionMapping.java /** * The

Re: default scope for struts actions

2001-10-27 Thread Ted Husted
The default scope for ActionMappings can be set to request in the web.xml, using a predefined class. init-param param-namemapping/param-name param-valueorg.apache.struts.action.RequestActionMapping/param-value /init-param This is also how you would tell Struts to use some

Re: default scope for struts actions

2001-10-26 Thread John Yu
Chiji, Yes, the default scope is request. Btw, the scope is for the ActionForm (aka FormBean) assoicated with the Action, not for the Action itself. At 10:48 am 25-10-2001 +, you wrote: I am right to think that the default scope for the struts action is request? Thanks Chiji?xml:namespace

Re: default scope for struts actions

2001-10-26 Thread emmanuel.boudrant
I'm not sure, I think default scope is session. see this in ActionMapping.java /** * The identifier of the scope (request or session) under which the * form bean associated with this mapping, if any, should be created. */ protected String scope = session; --- John Yu

default scope for struts actions

2001-10-25 Thread chiji nwankwo
I am right to think that the default scope for the struts action is request? Thanks ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com