struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
Subject RE: [S1] The proper way to define taglibs in a jsp file
Date Fri, 20 Apr 2007 04:42:52 GMT
You can search through all your documentation, but there's a more
"direct" (some might say indirect, but whatever) way.

Open up the jar file that the taglib refers to, using winzip, the
Eclipse Zip Editor, or whatever. Select the TLD file.  Open it into a
plain text editor.  Find the "uri" element.  Use that. 

> -----Original Message-----
> From: Crawford, Preston [] 
> Sent: Thursday, April 19, 2007 3:10 PM
> To:
> Subject: [S1] The proper way to define taglibs in a jsp file
> So I'm helping my company clean up some JSP files, things 
> like that and I'm seeing declarations like this.
> <%@ taglib uri="/bean" prefix="bean" %>
> <%@ taglib uri="/html" prefix="html" %>
> Now I know there is a way to do these same declarations 
> (we're on struts
> 1.2.9) without actually having to install the TLDs into our 
> build process.
> I've been Googling to figure out the "right" way, but I'm 
> finding different URLs. So I thought I'd ask if someone knew 
> what the proper way to declare these ways or point me in the 
> direction of a site for 1.2.9 so that perhaps I could make 
> these declarations without having to declare the URI in web.xml, etc.
> 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:
For additional commands, e-mail:

View raw message