What if we just removed the version number from the uri? So, people could use the full uri and use future releases without changing the reference.
A tip to avoid changing the uri in many files: Define a file called taglibs.jsp and put your <%@ taglib %> declarations in there. Then include taglibs.jsp in the rest of your jsps like this: <%@ include file="taglibs.jsp" %> This has made my life a whole lot easier because I don't have to worry about changing uris or putting a whole bunch of taglib declarations in every jsp. Dave >From: "Craig R. McClanahan" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: cvs commit: jakarta-struts/doc/userGuide struts-bean.xml >struts-html.xml struts-logic.xml struts-nested.xml struts-template.xml >(fwd) >Date: Sat, 12 Oct 2002 15:43:29 -0700 (PDT) > >EARLY WARNING of a change (effective in the 20021013 nightly build of >Struts) that may affect your application. > >The following change was just committed, which changes the <uri> value of >each of the standard Struts tag libraries that switches the included >version number from 1.0 to 1.1. If and only if you are using these URIs >directly in your JSP pages, you will need to update - for example, if you >used: > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.0" > prefix="bean" %> > >you will need to switch to > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.1" > prefix="bean" %> > >when you upgrade to the 20021013 nightly build or later. If you are using >the typical Struts pattern of "/WEB-INF/struts-bean.tld", your application >will not be affected by this change. > >Craig McClanahan > > > >---------- Forwarded message ---------- >Date: 12 Oct 2002 22:38:38 -0000 >From: [EMAIL PROTECTED] >Reply-To: Struts Developers List <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: cvs commit: jakarta-struts/doc/userGuide struts-bean.xml > struts-html.xml struts-logic.xml struts-nested.xml struts-template.xml > >craigmcc 2002/10/12 15:38:38 > > Modified: doc/userGuide struts-bean.xml struts-html.xml > struts-logic.xml struts-nested.xml > struts-template.xml > Log: > Update the tag library URIs for all of the standard Struts TLDs to > include a version number of 1.1 instead of 1.0. For example, the URI > of the struts-bean library TLD changed from: > > http://jakarta.apache.org/struts/tags-bean-1.0 > > to: > > http://jakarta.apache.org/struts/tags-bean-1.1 > > Unfortunately, this will mess up anyone running on a Servlet 2.3 >container > and using these URIs directly in their pages; but it needs to be done. > > PR: Bugzilla #13574 > Submitted by: dgraham1980 at hotmail.com > > Revision Changes Path > 1.6 +9 -9 jakarta-struts/doc/userGuide/struts-bean.xml > > Index: struts-bean.xml > =================================================================== > RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-bean.xml,v > retrieving revision 1.5 > retrieving revision 1.6 > diff -u -r1.5 -r1.6 > --- struts-bean.xml 3 Aug 2002 18:20:03 -0000 1.5 > +++ struts-bean.xml 12 Oct 2002 22:38:38 -0000 1.6 > @@ -15,7 +15,7 @@ > <jspversion>1.1</jspversion> > <shortname>bean</shortname> > <display-name>Struts Bean Tags</display-name> > - <uri>http://jakarta.apache.org/struts/tags-bean-1.0</uri> > + <uri>http://jakarta.apache.org/struts/tags-bean-1.1</uri> > <info> > <p>This tag library contains tags useful in accessing beans and their > properties, as well as defining new beans (based on these accesses) > @@ -144,7 +144,7 @@ > > <p>If a problem occurs while retrieving the specified bean >property, a > request time exception will be thrown.</p> > - > + > <p>The <code><bean:define></code> tag differs from > <code><jsp:useBean></code> in several ways, including:</p> > <ul> > @@ -789,7 +789,7 @@ > <p>A runtime expression that evaluates to an array, a Collection, >or > a Map.</p> > </info> > - </attribute> > + </attribute> > > <attribute> > <name>id</name> > @@ -918,14 +918,14 @@ > <p>Retrieve the value of the specified bean property, and render it >to the > current JspWriter as a String by the ways: > <ul> > - <li>If <code>format</code> attribute exists then value will be >formatted on base of format > + <li>If <code>format</code> attribute exists then value will be >formatted on base of format > string from <code>format</code> attribute and default system >locale.</li> > <li>If in resources exists format string for value data type (view ><code>format</code> > attribute description) then value will be formatted on base of >format string > from resources. Resources bundle and target locale can be >specified with > <code>bundle</code> and <code>locale</code> attributes. If nothing >specified then > default resource bundle and current user locale will be used.</li> > - <li>If there is a PropertyEditor configured for the property >value's class, the > + <li>If there is a PropertyEditor configured for the property >value's class, the > <code>getAsText()</code> method will be called.</li> > <li>Otherwise, the usual <code>toString()</code> conversions will >be applied.</li> > </ul> > @@ -964,8 +964,8 @@ > <required>false</required> > <rtexprvalue>true</rtexprvalue> > <info> > - <p>Specifies the format string to use to convert bean or property >value > - to the <code>String</code>. If nothing specified, then default >format > + <p>Specifies the format string to use to convert bean or property >value > + to the <code>String</code>. If nothing specified, then default >format > string for value data type will be searched in message resources >by > according key.</p> > <!-- move to developers guide > @@ -976,7 +976,7 @@ > </tr> > <tr> > <td>org.apache.struts.taglib.bean.format.int</td> > - <td>java.lang.Byte, java.lang.Short, java.lang.Integer, >java.lang.Long, > + <td>java.lang.Byte, java.lang.Short, java.lang.Integer, >java.lang.Long, > java.math.BigInteger</td> > </tr> > <tr> > @@ -1008,7 +1008,7 @@ > org.apache.struts.taglib.bean.format.sql.date=EEE, MMM >d, ''yy > org.apache.struts.taglib.bean.format.sql.time=h:mm a > org.apache.struts.taglib.bean.format.date=hh 'o''clock' >a, zzzz > - </pre> > + </pre> > <br />values for resource file entries are standart Java format >strings for > date, time and number values.</p> > --> > > > > 1.27 +1 -1 jakarta-struts/doc/userGuide/struts-html.xml > > Index: struts-html.xml > =================================================================== > RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v > retrieving revision 1.26 > retrieving revision 1.27 > diff -u -r1.26 -r1.27 > --- struts-html.xml 5 Oct 2002 05:38:41 -0000 1.26 > +++ struts-html.xml 12 Oct 2002 22:38:38 -0000 1.27 > @@ -17,7 +17,7 @@ > <jspversion>1.1</jspversion> > <shortname>html</shortname> > <display-name>Page Construction Tags</display-name> > - <uri>http://jakarta.apache.org/struts/tags-html-1.0</uri> > + <uri>http://jakarta.apache.org/struts/tags-html-1.1</uri> > <info> > <p> > This taglib contains tags used to create struts > > > > 1.8 +3 -3 jakarta-struts/doc/userGuide/struts-logic.xml > > Index: struts-logic.xml > =================================================================== > RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-logic.xml,v > retrieving revision 1.7 > retrieving revision 1.8 > diff -u -r1.7 -r1.8 > --- struts-logic.xml 12 Oct 2002 19:19:18 -0000 1.7 > +++ struts-logic.xml 12 Oct 2002 22:38:38 -0000 1.8 > @@ -14,7 +14,7 @@ > <jspversion>1.1</jspversion> > <shortname>logic</shortname> > <display-name>Struts Logic Tags</display-name> > - <uri>http://jakarta.apache.org/struts/tags-logic-1.0</uri> > + <uri>http://jakarta.apache.org/struts/tags-logic-1.1</uri> > <info> > <p>This tag library contains tags that are useful in managing >conditional > generation of output text, looping over object collections for > @@ -901,7 +901,7 @@ > <bodycontent>JSP</bodycontent> > <since>Struts 1.1</since> > <info> > - <p>Evaluates the nested body content of this tag if > + <p>Evaluates the nested body content of this tag if > an <code>ActionMessages</code> > object, <code>ActionErrors</code> object, a String, > or a String array is not in request scope. If > @@ -958,7 +958,7 @@ > <bodycontent>JSP</bodycontent> > <since>Struts 1.1</since> > <info> > - <p>Evaluates the nested body content of this tag if > + <p>Evaluates the nested body content of this tag if > an <code>ActionMessages</code> > object, <code>ActionErrors</code> object, a String, > or a String array is in request scope. If > > > > 1.11 +1 -1 jakarta-struts/doc/userGuide/struts-nested.xml > > Index: struts-nested.xml > =================================================================== > RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-nested.xml,v > retrieving revision 1.10 > retrieving revision 1.11 > diff -u -r1.10 -r1.11 > --- struts-nested.xml 20 Jun 2002 13:53:43 -0000 1.10 > +++ struts-nested.xml 12 Oct 2002 22:38:38 -0000 1.11 > @@ -13,7 +13,7 @@ > <jspversion>1.1</jspversion> > <shortname>nested</shortname> > <display-name>Struts Nested Tags</display-name> > - <uri>http://jakarta.apache.org/struts/tags-nested-1.0</uri> > + <uri>http://jakarta.apache.org/struts/tags-nested-1.1</uri> > <info> > <p>[Since Struts 1.1]</p> > <p>This tag library brings a nested context to the functionality of >the > > > > 1.2 +3 -3 jakarta-struts/doc/userGuide/struts-template.xml > > Index: struts-template.xml > =================================================================== > RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-template.xml,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -r1.1 -r1.2 > --- struts-template.xml 20 Feb 2002 00:41:14 -0000 1.1 > +++ struts-template.xml 12 Oct 2002 22:38:38 -0000 1.2 > @@ -15,7 +15,7 @@ > <jspversion>1.1</jspversion> > <shortname>template</shortname> > <display-name>Template Tags</display-name> > - <uri>http://jakarta.apache.org/struts/tags-template-1.0</uri> > + <uri>http://jakarta.apache.org/struts/tags-template-1.1</uri> > <info> > This tag library contains three tags: put, get, and insert. Put tags > put content into request scope, which is retrieved by a get tag in > @@ -35,8 +35,8 @@ > <tagclass>org.apache.struts.taglib.template.InsertTag</tagclass> > <bodycontent>JSP</bodycontent> > <info> > - This tag's enclosed put tags put content (URIs or text) into >request > - scope. That content is retrieved by get tags in a template >(templates > + This tag's enclosed put tags put content (URIs or text) into >request > + scope. That content is retrieved by get tags in a template >(templates > are JSP pages). That template is included by this tag's end tag. > </info> > > > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

