Kevin, again thank you for input. I found the cause of it! But first, a few things
that I discovered:
- The classes directory is automatically in the CLASSPATH for the JWS.
- The paged compiled successfully because by hard coding if (true), it worked, then
went straight to getMore successfully
What I did that seems to having solved the problem is to delete the entire tmpdir
directory, which contains the .java and .class produced on the fly. Now it works
just fine!
Again, thanks to you and Papaya...
Jean
Kevin Mukhar wrote:
> 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
___________________________________________________________________________
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