ClassCastException


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: ClassCastException

  1. #1
    maheshkumar mahesh_kumarkv Guest

    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.







  2. #2
    Kyle Gabhart Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center