Re: Taglib URI's
If you subscribe to the digest, you can still post to the User list. You can also post to the User list through the BaseBeans newsgroup. 12/15/2002 11:14:23 AM, Matt Raible [EMAIL PROTECTED] wrote: This is probably a question for the struts-user list, but I'm scared to subscribe to that inbox filler-upper ;) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Taglib URI's
This is probably a question for the struts-user list, but I'm scared to subscribe to that inbox filler-upper ;) It has come to my attention that JSTL has standardized upon the following syntax for importing tag libraries: %@ taglib uri=http://java.sun.com/jstl/core prefix=c % Where there is no entry in web.xml and the classloader will pick up the .tld file from the taglib's jar file. Here's the e-mail I found out about this from: snip The reason that this is important in JSTL (although you don't have to do it this way) is that in the future servlet containers will no doubt supply their own optimized JSTL implementations. The JSTL spec states that unless the full URI is used in the taglib declaration, the optimized library cannot be used /snip Is this possible with Struts tags - do they have a similar http-based URI? Thanks, Matt
Re: Taglib URI's
You're right, this is for struts-user :-). Look in the tld files for the uri to use. This is also documented in the users guide. David From: Matt Raible [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Taglib URI's Date: Sun, 15 Dec 2002 09:14:23 -0700 This is probably a question for the struts-user list, but I'm scared to subscribe to that inbox filler-upper ;) It has come to my attention that JSTL has standardized upon the following syntax for importing tag libraries: %@ taglib uri=http://java.sun.com/jstl/core prefix=c % Where there is no entry in web.xml and the classloader will pick up the .tld file from the taglib's jar file. Here's the e-mail I found out about this from: snip The reason that this is important in JSTL (although you don't have to do it this way) is that in the future servlet containers will no doubt supply their own optimized JSTL implementations. The JSTL spec states that unless the full URI is used in the taglib declaration, the optimized library cannot be used /snip Is this possible with Struts tags - do they have a similar http-based URI? Thanks, Matt _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Taglib URI's
Thanks - much appreciated. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 15, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: Re: Taglib URI's You're right, this is for struts-user :-). Look in the tld files for the uri to use. This is also documented in the users guide. David From: Matt Raible [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Taglib URI's Date: Sun, 15 Dec 2002 09:14:23 -0700 This is probably a question for the struts-user list, but I'm scared to subscribe to that inbox filler-upper ;) It has come to my attention that JSTL has standardized upon the following syntax for importing tag libraries: %@ taglib uri=http://java.sun.com/jstl/core prefix=c % Where there is no entry in web.xml and the classloader will pick up the .tld file from the taglib's jar file. Here's the e-mail I found out about this from: snip The reason that this is important in JSTL (although you don't have to do it this way) is that in the future servlet containers will no doubt supply their own optimized JSTL implementations. The JSTL spec states that unless the full URI is used in the taglib declaration, the optimized library cannot be used /snip Is this possible with Struts tags - do they have a similar http-based URI? Thanks, Matt _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:struts-dev- [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]