CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 How to add JSP Tag Library

Print topic Send  topic

Author Message
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
View profile  Send private message
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.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.