Re: Expression Language in JSP and JasperException

2007-02-21 Thread David Smith
Ok. I'm not overly familiar with Stripes, so you'll have to bear with me a little. I can think of a few ways to handle this. First, look at what makes a request from calculator.jsp unique. You could use the referrer header, the value of a submit button, or the presence of the equation request p

Re: Expression Language in JSP and JasperException

2007-02-21 Thread Piotr Kiraga
Hi David, Ok forgive me now, but this is getting confusing. Where does result come into this picture? Were you expecting actionBean to be an instance of a different class? You aren't offering a lot to go on here. Sorry for mixup. I've just thought that it is just about some option in T

Re: Expression Language in JSP and JasperException

2007-02-20 Thread Eric Haszlakiewicz
On Tue, Feb 20, 2007 at 03:23:32PM -0500, David Smith wrote: > Ok forgive me now, but this is getting confusing. Where does > result come into this picture? Were you expecting actionBean to be an > instance of a different class? You aren't offering a lot to go on here. That's what it sou

Re: Expression Language in JSP and JasperException

2007-02-20 Thread David Smith
Ok forgive me now, but this is getting confusing. Where does result come into this picture? Were you expecting actionBean to be an instance of a different class? You aren't offering a lot to go on here. --David Piotr Kiraga wrote: > The problem is that there could be a class that has

Re: Expression Language in JSP and JasperException

2007-02-20 Thread Piotr Kiraga
> 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 expressi

Re: Expression Language in JSP and JasperException

2007-02-20 Thread David Smith
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 resu

Re: Expression Language in JSP and JasperException

2007-02-20 Thread Piotr Kiraga
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 t

Re: Expression Language in JSP and JasperException

2007-02-20 Thread David Smith
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 } --David Piotr Kiraga wrote: > Hi, > > When I'm using in JSP: > ... > Tomcat (5.5.17) throws excep