I wondered about that but I have two much simpler working examples that don't 
extend HttpServlet and both work fine.

Rick

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]On Behalf Of Glenn Holmer
Sent: Thursday, December 09, 2004 12:42 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: java.lang.ClassCastException


Rick.Chevalier@xxxxxxxxxxxxxxx wrote:
> "SRVE0020E: [Servlet Error]-[com_payoffcalculatorpkg_GetPayoff]: Failed to 
> load servlet: java.lang.ClassCastException: com.payoffcalculatorpkg.GetPayoff"

I don't know WSDC at all, but if he thinks that class is a servlet,
shouldn't it extend HttpServlet?

> public class GetPayoffServer {

--
____________________________________________________________
Glenn Holmer                          gholmer@xxxxxxxxxxxxxx
Programmer/Analyst                       phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601
--


Privileged and Confidential.  This e-mail, and any attachments there to, is 
intended only for use by the addressee(s) named herein and may contain legally 
privileged or confidential information.  If you have received this e-mail in 
error, please notify me immediately by a return e-mail and delete this e-mail.  
You are hereby notified that any dissemination, distribution or copying of this 
e-mail and/or any attachments thereto, is strictly prohibited.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.