The tags you are referring to are part of the struts-bean tag library.
A .tld file is whats known as a 'tag library descriptor' (or words to that
effect) - tld files being used by JSP to define tag libraries - in this case
its a definition for the struts bean taglib.
When you wish to use the bean taglib in a JSP page you use the directive
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
at the top of your page, the uri of course telling JSP where to find the tld
file (you will note the lack of the .tld suffix though).
-----Original Message-----
From: Billy Ng [mailto:kwokng@earthlink.net]
Sent: Friday, 4 July 2003 17:27
To: Struts Users Mailing List
Subject: Re: Struts-bean.tld
I normally use it to get the value from the properties file.
<a href="<bean:message key="home.link"/>"
In the Applications.properties file, you can define
home.link=http://www.home.com
How handy, right? You should look at the Struts' doc
Billy Ng
----- Original Message -----
From: "Jagannayakam" <jagannayakam@aztec.soft.net>
To: "Struts Users Mailing List (E-mail)" <struts-user@jakarta.apache.org>
Sent: Friday, July 04, 2003 2:11 AM
Subject: Struts-bean.tld
> What does the struts-bean.tld do .
>
> Regards,
> Jagan.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
|