Hi Sweta,

        Me too, my apologies for the wrong answer.
Please go ahead with Kevins analysis.(The point which
kevin had was valid,and it holds good if the template
of the stack trace which you had posted is from the
first of the few lines of the *printStackTrace()*
;->).

thanks,
Madhava

--- Geeta Ramani <[EMAIL PROTECTED]> wrote:
> Sorry, Sweta, for my wrong answer. Needless to add,
> please go with Kevin's..  (:-)
> Geeta
>
> Kevin Mukhar wrote:
>
> > 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
>
>
___________________________________________________________________________
> 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


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

___________________________________________________________________________
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

Reply via email to