From: "Jason Kwon" <[EMAIL PROTECTED]>
Say I have multiple webapps. Currently, I am deploying each webapp with their own copies of the struts TLDs. Is there any way I can deploy each webapp and deploy only a single set of struts TLDs?
There is a way you can deploy *none* of the tlds. :) Assuming you're on a Servlet 2.3 or better container, and that by "deploying" you mean you're putting the tlds under WEB-INF and configuring them in web.xml, all you have to do is start using the right URI in your <@taglib> tags, and the tlds which are already in (for example) struts.jar will be automatically used. Example: <%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %> If you're using the non-el version of the tags, the URI will be different-- look in the tld itself for the <uri>http://struts.apache.org/tags-html</uri>, and use that in your <%@ taglib> tag. Then delete the .tld files from wherever you had them, and delete the <taglib> tags from web.xml. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]