RE: Class cast exception....

2001-03-19 Thread Conrad Chan
It is not going to work. Both ess.jsp and ess2.jsp are declaring their own Website subclass and they can't be cast to each other (They are totally different classes). Use a real java class instead. Conrad -Original Message-From: Christian Meunier [mailto:[EMAIL

RE: Class cast exception....

2001-03-19 Thread Tim Endres
Don't you mean to say that the two JSP pages are generating two separate classes that are each declaring their own Website *inner* class? Your suggested solution is, of course, correct - use a top-level class. tim. Conrad Chan [EMAIL PROTECTED] It is not going to work. Both ess.jsp and

Re: Class-Cast-Exception Error

2000-12-04 Thread Marcus Lankenau
Hi Paul! Same probleme here.We get this errer when a ejb is recompiled and redeployed. The disappeares on server restart. Paul Kofon wrote: Hi, I have a Web application with forms. A servlet updates a database on behalf of a JSP. It worked okay until today when some one in my company

Re: class cast exception

2000-12-01 Thread Santosh Kumar
Try: PhoneEntryHome home = (PhoneEntryHome) PortableRemoteObject.narrow(boundObject,PhoneEntryHome.class); It should work fine. Regards, Santosh. - Original Message - From: Marcus Lankenau [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, December 01, 2000 3:51 PM

Re: class cast exception

2000-12-01 Thread Sven van 't Veer
PhoneEntryHome home = (PhoneEntryHome) boundObject; should be : PhoneEntryHome home = (PhoneEntryHome)javax.rmi.PortableRemoteObject.narrow(boundObject, PhoneEntryHome); Marcus Lankenau wrote: Hi! I've started developing a very simple phonebook application for learining purpose. The app

Re: Class Cast Exception when using development mode and changing source

2000-07-12 Thread Karl Avedal
Hello Kevin, Kevin Duffey wrote: Hi, I am using the development mode (true) and set up the source directory to point to my source. When I save a change, and refresh the page, I am always getting a Class Cast Exception error. I store a bean called HtmlBean as application scope. In the

RE: Class Cast Exception when using development mode and changing source

2000-07-12 Thread Kevin Duffey
Hi Karl, You brought to my attention two things that I wasn't doing. First, I didn't realize this..but the HtmlBean was not implementing the Serializable interface. I added that. Second, I notice you say to use something called serialVersionUID, what is that about? I recall one of our engineers