On Sat, 5 Feb 2005 15:52:33 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 4:12 PM -0500 2/5/05, Bill Siggelkow wrote:
> >Okay, the struts-taglib...jar now includes the TLD files. However,
> >there is still an issue with the struts-mailreader application.
> >Currently, it references the TLDs in the web.xml like this:
> >
> >   <taglib>
> >     <taglib-uri>/tags/struts-bean</taglib-uri>
> >     <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
> >   </taglib>
> >
> >However, since the tlds are now in the taglib jar we need to change
> >how this works. One way would be to remove the taglib declarations;
> >but this would require changing the JSPs to use the absolute URI.
> >Optionally, you can specify a jar file in the taglib location;
> >however, I do not know if you can refer to a specific TLD in that
> >jar?
> 
> Although I don't think anyone has taken a firm step in this
> direction, I believe we're all in consensus about shifting the
> minimum specs for Struts 1.3 to Servlet 2.3/JSP 1.2.  In so far as
> that's true, then all containers should support the TLD autodiscovery
> features, so I'd say we leave it out of the web.xml and use the
> "official" URI from the TLD files.

I'm +1 on using the packaged taglibs mechanism in the samples.
Unfortunately, we'll still need to provide the TLDs as separate files
with the taglib subproject, so that people will not be forced to
change all their own apps.

--
Martin Cooper


> Joe
> 
> --
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
> "Narrow minds are weapons made for mass destruction"  -The Ex
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to