tempusfugit (136) [Avatar] Offline
#1
Ch 13 page 246 Listing 13.3 Functions.tld

Should be:

<function-signature>
int length(java.lang.String)
</function-signature>

not

<function-signature>
java.lang.int length(java.lang.String)
</function-signature>

Reason: "int" is a primitive type, not a class with a fully qualified name

JSP 2.0 Spec, 3-24:
"Type is a basic type or a fully qualified Java class name (including package name), as per the ’Type’ production in the Java Language Specification, Second Edition, Chapter 18."


JSR-000152 JavaServer PagesTM 2.0 Specification (Final Release)
http://jcp.org/aboutJava/communityprocess/final/jsr152/index.html

JSR-000154 JavaTM Servlet 2.4 Specification (Final Release)
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

JSR-000052 A Standard Tag Library for JavaServer PagesTM (Maintenance Release)
http://jcp.org/aboutJava/communityprocess/final/jsr052/index2.html