Date: 2004-09-02T20:52:33 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: ------------------------------------------------------------------------------ @@ -7,24 +7,21 @@ Also if you want to start using the new '''validwhen''' validation rule, then you will need to deploy the antlr.jar as well. == tlds == -Remember to deploy the new versions of the tld files for struts tags. If you don't you won't be able to use the new tag attributes added. -'''NOTE''' The uri's in the struts tlds have changed from jakarta.apache.org/struts to struts.apache.org - see section '''1.3 jsp''' below for the implications of this. +Remember to deploy the new versions of the tld files for struts tags. If you don't you won't be able to use the new tag attributes added. -== jsp == -The uri in the Taglib declaration may need to be updated. +'''NOTE''' The uri's in the struts tlds have changed from jakarta.apache.org/struts to struts.apache.org - however this shouldn't have any impact (see below) -'''A.''' If you have configured the tag libraries using entries in the web.xml (see [http://struts.apache.org/userGuide/configuration.html#dd_config_taglib User Guide]) then you shouldn't need to do anything. +Tag libraries can be configured in one of two ways: -'''B.''' If you have used the simplified deployment allowed by Servlet 2.3 onwards then (see [http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23 User Guide]) then you have one of two choices +'''A.''' If you have configured the tag libraries using entries in the web.xml (see [http://struts.apache.org/userGuide/configuration.html#dd_config_taglib User Guide]) then these should continue to work. - '''B.1.''' Change all your jsps to point to the new uri, for example: +'''B.''' If you have used the simplified deployment allowed by Servlet 2.3 onwards (see [http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23 User Guide]) then this should also continue to work as versions of the tld's with the old uri have now been included in the struts.jar (and struts-el.jar). Its recommended that for new development that you use the new uri Struts 1.1 {{{ <%@ taglib uri="http://jakarta.apache.org/struts/tags-html prefix="html" %> }}} Struts 1.2.x {{{ <%@ taglib uri="http://struts.apache.org/tags-html prefix="html" %> }}} - '''B.2.''' Add entries in the web.xml for each of the struts tag libraries as shown in the[http://struts.apache.org/userGuide/configuration.html#dd_config_taglib User Guide]. == validator.xml == Change the dtd declaration at the top to refer to the dtd for validator 1.1.3 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
