Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
340
Chapter 14 Creating Custom JSP Tag Libraries
The Tag Library Descriptor File
Listing 14.20 shows a TLD file that gives the name 
csajsp:repeat
 to the
tag just defined. To accommodate request time values in the 
reps
 attribute,
the file uses an 
rtexprvalue
 element (enclosing a value of 
true
) within the
attribute
 element. 
Listing 14.20 csajsp taglib.tld 
 PUBLIC " //Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
 "http://java.sun.com/j2ee/dtds/web jsptaglibrary_1_1.dtd">
  
        "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd"
     >
  1.0
  1.1
  csajsp
  
  
    A tag library from Core Servlets and JavaServer Pages,
    http://www.coreservlets.com/.
  
  
  
    repeat
    coreservlets.tags.RepeatTag
    Repeats body the specified number of times.
    JSP
    
      reps
      true
      
           can be a JSP expression.   >
      true
    
  
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

jsp web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved