Jean Bresse wrote:
>
> Patrik, thank you for your reply.
>
> I tried removing the super() in the constructor, but same result.
>
> The error I get on the browser is the following:
>
> Error during JSP page processing
> java.lang.NoSuchMethodError: classwave.remedy.server.beans.DBManager: method
> getTheTruth()Z not found
>
> I know that invoking getMore() works with the following jsp code:
>
> <%= db.getMore()%>
>
> So why would <% if (db.getTheTruth()) { %> not work???
>
> I understand from the error that it cannot find the method, but I simply don't
> know what I'm doing wrong... I have no explanation either for the additional
> "Z" in the error.
The Z indicates the return type of the method that can't be found. Z means
boolean.
Are you sure getMore is working. Or are you saying that the line with getMore is
not throwing the NoSuchMethodError? That could be because the JSP compiler stops
after the first error and so never tries to compile db.getMore();
One thing I've noticed is that you don't have the <% page
import="classwave.remedy.server.beans.DBManager" %> tag in your JSP. Could that
be the problem?
K Mukhar
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html