Nevermind. I figured it out. It's a WAS problem. You have to use the full URI in the Web.xml if you want to use it on the JSP page in the taglib declaration. So like this.
<taglib> <taglib-uri>http://struts.apache.org/tags-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> Preston -----Original Message----- From: Crawford, Preston [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 10:33 AM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file This is really strange. So it works if I reference the taglibs as defined in the web.xml (i.e. define /bean in the web.xml and then declare the taglib in the JSP referring to that uri). So now this works... <%@ taglib uri="/bean" prefix="bean" %> But this doesn't work... <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> And for an error in WebSphere 6.1 I get the following error. JSPG0047E: Unable to locate tag library for uri http://struts.apache.org/tags-bean Any ideas? Preston -----Original Message----- From: Crawford, Preston [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 7:31 PM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file I did. It's expecting the one you listed. I just get a "Not Found" error if I go there. I tried declaring it inside the web.xml instead (newly converted to 2.4) and that doesn't work either. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]