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]