Hi All, I think there is an error in the example for Declarations. Someone may have already pointed this out. If not, then here goes... Declarations: Sec 2.10.1, page 52 ---------------------------------- The second example of a declaration reads: <%! public void f(int i) { if (i<3) out.println("..."); } %> According to the spec, "Declarations" do not have access to the "out" object. However, this example tries to state otherwise. I tried the example above on JWS 2.0 b2 and it didn't compile. If I understand the definition of a "declaration", JSP code in a declaration block simply performs an operation/assignment without sending anything to the output. That should be left up to the caller. Please correct me if I'm wrong. Cheers! -- ----------------------------------------------- Chad (shod) Darby | J9 Consulting, Inc. [EMAIL PROTECTED] | http://www.j-nine.com ----------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".