CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    ClassFormatError while running applet in browser

    While i am trying to run my applet through appletviewer it is running ok. but while i'm trying same applet in Netscape it's not working .it is giving error
    like ClassFormatError found. Is there anybody who can help me. (My applet is related to applet to servlet communication and also with IO operation).


  2. #2
    Join Date
    Apr 2000
    Location
    Hyderabad, India
    Posts
    23

    Re: ClassFormatError while running applet in browser

    hai,

    URL url=new URL(getCodeBase(),"/servlet/SampleServlet");
    will construct the url object and by using the streams we get the data from the servlet back to the browser.

    i did't face any of that sort when i used this way.






    S.V Bharath Reddy
    Software Engineer,
    Hyderabad.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured