Hi Sweta,
             It seems that LoanCalculator Servler is not a Servlet. In
otherwords it doesnot inherit either Generic or Http Servlet Classes. Check
it out.

Bye,
Jiger


>From: Sweta Singh <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Help Required
>Date: Wed, 17 Jan 2001 19:57:31 +0530
>
>Hi All,
>I am trying to run my servlet program .
>I am calling a class file from a HTML file.
>While running the html file, the form is
>displayed but when i click on submit button
>following error is displayed on a new html
>file.This error is displayed by me only
>in the program.Can anybody help me to
>recognise the problem?
>
>Error: 500
>Internal Servlet Error:
>
>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)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>         at
>com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
>         at com.sun.web.core.Context.handleRequest(Context.java:375)
>         at com.sun.web.server.ConnectionHandler.run(Compiled Code)
>
>Thanks in Advance
>Sweta
>
>___________________________________________________________________________
>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

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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