tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Kiraga" <piotr.kir...@gmail.com>
Subject Re: Expression Language in JSP and JasperException
Date Tue, 20 Feb 2007 13:39:31 GMT
> Does com.some.packages.action.LoginActionBean have a public method
> getResult()?  The test below effectively translates to:
>
> if (actionBean.getResult() != null) {
>    // .... some stuff to do ....
> }

The problem is that there could be a class that has no property with
name result. In another case there could be another class (bean) that
has such property (than of course it works fine, but at first case
Tomcat throws exception).

-- 
Piotr Kiraga

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message