On Mon, 18 Mar 2002, Trogrlic Zeljko wrote:

> Hello,
> 
> I'm writing a presentation of the latest JSTL, but I have a problem
> with one example.
> 
> In JSP, I need something like
> 
> <c:if test="${securityBean.check(request, response) }">
> 
> but it doesn't work. How can I pass parameters? All examples use only
> simple getters. If someone knows the answer please reply ASAP because
> I have a presentation in two days.
> 
> Thanks!

The JSTL expression language does not support method invocations on
objects.  You'll currently need to use a custom tag library or scriptlet
code (with the former being recommended over the latter) if you want to
access arbitrary methods and pass arguments to them.

--
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to