You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Deadman, Hal" <Ha...@Tallan.com> on 2004/09/02 21:04:36 UTC

1.1 tld uri - RE: cvs commit: jakarta-struts/contrib/struts-faces/web/systest context.jsp context1.jsp logon.jsp logon1.jsp simple.jsp

I made a patch for this issue and added it to the bug report Matthias created.
 
http://issues.apache.org/bugzilla/show_bug.cgi?id=31021
 
If this is OK it should be easy to do for struts-el and struts-faces as well. Let me know if you would like patches for those as well. 

________________________________

From: Martin Cooper [mailto:mfncooper@gmail.com]
Sent: Thu 9/2/2004 1:04 AM
To: Struts Developers List; Craig McClanahan
Subject: Re: cvs commit: jakarta-struts/contrib/struts-faces/web/systest context.jsp context1.jsp logon.jsp logon1.jsp simple.jsp



So, do we need changes for the 1.2.3 release? If so, a quick fix/patch
would be appreciated. ;-)

--
Martin Cooper


On Wed, 1 Sep 2004 21:28:13 -0700, Craig McClanahan <cr...@gmail.com> wrote:
> On Wed, 1 Sep 2004 18:45:22 -0400, Deadman, Hal <ha...@tallan.com> wrote:
> > Maybe Craig's point was that you could put two copies of the tld in the jar's META-INF, one with the old URI and one with the new. The tlds would be otherwise identical but auto-discovery would work no matter what URI the application was using. Not sure how else you would acheive this:
>
> That was exactly my point.
>
> >
> > >  (Struts 1.2.x should recognize both the old and new tag library URIs,
> > > but shouldn't require applications to switch.)
> >
>
> Otherwise, a Struts 1.1 application that relies on the implicit TLD
> registration done by the container (i.e. *not* listing the TLDs
> explicitly in web.xml) will go down in flames when run against Struts
> 1.2.x, unless you go fix the taglib directives in every single page.
>
> Basically, it's the same reason that Struts 1.2.x accepts and
> processes 1.0 and 1.1 versions of struts-config.xml files ... so that
> older apps can run with minimal changes when you upgrade Struts.
>
> It turns out that this doesn't matter for the particular commit
> message I replied on (which only changed the URI for the struts-faces
> TLD), but it's an important backwards compatibility principle in
> general.
>
>
>
> Craig
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org