TLD File for SimplePrimeTag
 version="1.0" encoding="ISO 8859 1" ?>
 taglib ...>
1.0
1.1
cwp
A tag library from Core Web Programming 2nd Edition,
http://www.corewebprogramming.com/.
simplePrime
cwp.tags.SimplePrimeTag
Outputs a random 50 digit prime.
83
JSP
www.corewebprogramming.com
Accessing Custom Tags From 
JSP Files
Import the tag library
Specify location of TLD file
<%@ taglib 
uri= "cwp taglib.tld"
prefix= "cwp" %>
Define a tag prefix (namespace)
<%@ taglib uri="cwp taglib.tld" 
prefix= "cwp"
%>
Use the tags
Tag name comes from TLD file
Prefix comes from taglib directive
E.g., 
84
JSP
www.corewebprogramming.com
42




  

Home

About Services Network Support FAQ Order Contact
 

Java Web Hosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved