Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@apache.org Received: (qmail 81094 invoked from network); 10 Sep 2002 04:32:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Sep 2002 04:32:21 -0000 Received: (qmail 28759 invoked by uid 97); 10 Sep 2002 04:33:01 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-user@jakarta.apache.org Received: (qmail 28741 invoked by uid 97); 10 Sep 2002 04:33:00 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 28729 invoked by uid 98); 10 Sep 2002 04:33:00 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Tue, 10 Sep 2002 00:32:15 -0400 (EDT) From: Shawn Bayern X-Sender: bayern@precision To: Tag Libraries Users List , hdi12@it.canterbury.ac.nz Subject: Re: JSTL questions In-Reply-To: <3D7D65F8.3010307@student.canterbury.ac.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 10 Sep 2002, Hao Ding wrote: > 1. In Chapter 2 of JSTL in action, it says most of standard JSP core > tags , ,such as , are > rarely needed when using JSTL. How can these functions be realized > using JSTL tags? is effectively replaced by ; and scripting variables are, with a few exceptions, superceded by JSTL's expression language; and 's function is handled using > 2. Are only "getting" methods in the bean cleasses can be called by EL ? > How can call general functions (non-getting functions) of back-end java > code from JSP page using JSTL? You cannot; such functions need to be called by Java code, either in the page, in a Java-based component such as a servlet or a filter, or in a bean itself, wrapped by bean-style accessor methods. In JSP 2.0, you'll also be able to define expression-language functions in the TLD; this will let you access back-end methods as long as you've declared them accessible. -- Shawn Bayern "JSTL in Action" http://www.jstlbook.com -- To unsubscribe, e-mail: For additional commands, e-mail: