raghusharma
Posts: 4
|
Posted: 06/11/2006, 10:52 AM |
|
Hi,
I would like to add a tag library to my CCS project.
How can I update the web.xml and add my *.tld file to the project
Help greatly appreciated
Roger
|
|
|
J
|
Posted: 08/12/2006, 1:41 PM |
|
web.xml:
<taglib>
<taglib-uri>/taglibs/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/taglibs/struts-tiles.tld</taglib-location>
</taglib>
JSP:
<%@ taglib uri="/taglibs/struts-tiles" prefix="tiles" %>
You can use any name you like for the <taglib-uri>, just make sure you use the same one when calling it from the JSP.
Also for the prefix (in this case "tiles") you can use any name and then use it for your tags.
|
|
|
|