I initially tried: <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" nocache="true"/> <controller maxFileSize="2G"/>
which gave me a compilation error, but still let me run the application... and that's why I wasnt sure and asked to confirm. Ok, thanks a lot for your help :) Laurie Harper wrote: > > tjahfe wrote: >> Hi, >> >> Is it possible to have more than one controller configuration definition >> in >> struts-config.xml? > > No, the DTD for struts-config.xml specifies only one is allowed. > >> Currently, I have the following definition: >> <controller >> processorClass="org.apache.struts.tiles.TilesRequestProcessor" >> nocache="true"/> >> >> and I would like to set the default maxFileSize... >> >> Should I add the new setting as part of the current definition, ie: >> <controller >> processorClass="org.apache.struts.tiles.TilesRequestProcessor" >> nocache="true" maxFileSize="2G"/> > > Yes, that should work. Did you try it? > >> or should I add the new setting as a new definition, ie: >> <controller >> processorClass="org.apache.struts.tiles.TilesRequestProcessor" >> nocache="true"/> >> <controller maxFileSize="2G"/> > > That won't work, and should cause an error during startup, since it > violates the DTD. > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Controller-Configuration-tp15423670p15425619.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]