Date: 2004-09-20T17:32:28 Editor: NiallPemberton <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: Struts1.1to1.2.1UpgradeNotes URL: http://wiki.apache.org/struts/Struts1.1to1.2.1UpgradeNotes
no comment Change Log: ------------------------------------------------------------------------------ @@ -58,5 +58,26 @@ Replace org.apache.commons.validator.ValidatorUtil with org.apache.commons.validator.util.ValidatorUtils. +== <init-param> web.xml configuration == + +A number of the of ''init'' parameter entries (i.e. <init-param>) in the web.xml were marked as ''deprecated'' in the Struts 1.1 release and have been removed in Struts 1.2. A list of the ''init'' parameters which have been ''removed'' is given below (refer to the [http://struts.apache.org/userGuide/configuration.html User Guide] for more information on Struts configuration): + + * '''mapping''' - see note on '''configFactory''' below + * '''debug''' - replaced by [http://jakarta.apache.org/commons/logging/guide.html Commons Logging] + * '''bufferSize''' - moved to <controller> element in the struts-config.xml + * '''content''' - renamed to '''contentType''' and moved to <controller> element in the struts-config.xml + * '''locale''' - moved to <controller> element in the struts-config.xml + * '''maxFileSize''' - moved to <controller> element in the struts-config.xml + * '''nocache''' - moved to <controller> element in the struts-config.xml + * '''multipartClass''' - moved to <controller> element in the struts-config.xml + * '''tempDir''' - moved to <controller> element in the struts-config.xml + * '''application''' - now '''parameter''' in the <message-resources> element in the struts-config.xml + * '''factory''' - moved to <message-resources> element in the struts-config.xml + * '''null''' - moved to <message-resources> element in the struts-config.xml + + +'''N.B.''' There is a new '''configFactory''' ''init'' parameter in Struts 1.2 which can be used to set a custom ModuleConfigFactory class. This could be used to initialize default ModuleConfig settings on a ''struts-wide'' basis. + + ---- CategoryHomepage --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
