tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Expression Language in JSP and JasperException
Date Tue, 20 Feb 2007 14:06:17 GMT
Piotr Kiraga wrote:
>> 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).
>
Maybe.... but let's keep debugging simple.  The expression language is 
expecting a class conforming to the JavaBeans standard.  What does the 
class "com.some.packages.action.LoginActionBean" look like?

--David

---------------------------------------------------------------------
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