Madhava Gullapalli wrote:
>
> InvokerServlet.java is a file which is internal to
> the Java Web Server if i am *right*.I feel the error
> is somewhere in the LoanCalculator.java file itself.
Partly right. The class com.sun.web.core.InvokerServlet is a class that
comes from Sun and is probably part of the servlet container
distribution being used by the original poster.
However, the exception is not occuring in LoanCalculator or
InvokerServlet as someone else suggested. Here's how to read the stack
trace:
> > java.lang.ClassCastException: LoanCalculator
> > at com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:90)
> > at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109)
> > at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)
The ClassCastException is thrown from line 90 of ServletWrapper in the
loadServlet method.
The loadServlet method was called from line 109 of ServletWrapper in the
handleRequest method.
The handleRequest method was called from line 169 of the InvokerServlet
in the service method.
etc.
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