-
ClassCastException
Friends,
I am deployin the application example(Converter) given in J2EE documentation
of Sun. The example shows the output when it is accessed through a Servlet
or a Jsp.
But it throwing an exception called "ClassCastException" when it is accessed
through a java program.
I will be very thankful if any can tell me the reason and solution to this
Exception .
regards,
Mahesh Kumar.
-
Re: ClassCastException
"maheshkumar" mahesh_kumarkv wrote:
>
>Friends,
>
>I am deployin the application example(Converter) given in J2EE documentation
>of Sun. The example shows the output when it is accessed through a Servlet
>or a Jsp.
>
>But it throwing an exception called "ClassCastException" when it is accessed
>through a java program.
>
>I will be very thankful if any can tell me the reason and solution to this
>Exception .
>
>
>regards,
>Mahesh Kumar.
>
Mahesh,
Could you please provide a link to the source code, or paste the offending
code in another response? Also, can you provide the exact error message
that you are recieving? Thanks.
Cordially,
Kyle Gabhart
DevX Java Pro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks