Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
  1. #21
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Lightbulb

    Caused by: java.io.FileNotFoundException: \localhost\C:\Documents and Settings\Administrator\Java\ch3\GridLayoutExample. class (The filename, directory name, or volume label syntax is incorrect)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    First of all watch the
    java.io.*;
    :eek:
    lib... It is much limited as for applets at all
    applets are much limited in browsers owing to the security things...

    'fess us... maybe first you was running the applet in your IDE appletviewer and then decided to run it in your browser? :rolleyes:
    Last edited by Webuser; 07-09-2010 at 05:19 AM.
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

  2. #22
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Yea it was a long shot there should not be a difference, I thought you might be running your own server to launch the website.

  3. #23
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Lightbulb

    Quote Originally Posted by billlin View Post
    I'm a total beginner in java, i've just learned the language through console, and decided to move onto apps. There's nothing static... it's just the helloworld app. the simplest. I noticed it didn't actually update when I changed the output text randomly.

    I tried pressing ctr + f5, but it doesn't reload for some fustrating reason.
    My Internet explorer seems to refresh every single web page like that except for the html documents that I create.

    Thanks for replies.
    what you mean? applet or web page does not reload or what? :confused:
    If your applet does not reload that means it may contain static objects which produce leak of JRE memory ;)
    Don't use static objects and that's should be fine I guess... Show us the applet code


    And concerning this
    Caused by: java.io.FileNotFoundException: \localhost\C:\Documents and Settings\Administrator\Java\ch3\GridLayoutExample. class (The filename, directory name, or volume label syntax is incorrect)
    I think the applet is supposed to be downloaded from its native host and runs code like a
    getDocumentBase()+getCodeBase()

    And owing to this ...

    Caused by: java.io.FileNotFoundException: \localhost\C:\Documents and Settings\Administrator\Java\ch3\GridLayoutExample. class (The filename, directory name, or volume label syntax is incorrect)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at sun.net.http://www.protocol.file.FileURLConn...onnect(Unknown Source)
    at sun.net.http://www.protocol.file.FileURLConn...Stream(Unknown Source)
    we must looking GridLayoutExample. class at its native host resource :) like a
    getDocumentBase().gethost()+getCodeBase()+"GridLay outExample. class" because it is a resource file.
    Fact is the applet uses serialization to run :)
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

  4. #24
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Quote Originally Posted by Webuser View Post

    Fact is the applet uses serialization to run :)
    Has the .class file been downloaded then?

  5. #25
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Lightbulb

    Quote Originally Posted by al_Marshy_1981 View Post
    Has the .class file been downloaded then?
    I guess it can't be downloaded from here
    \localhost\C:\Documents and Settings\Administrator\Java\ch3\GridLayoutExample. class
    ;)

    Either one should run the applet downloaded from its native host or somehow get this resource GridLayoutExample. class and adapt applet inner code and its resources for local running :)
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Internet Explorer
    By maria.mt in forum New To Java
    Replies: 2
    Last Post: 04-17-2009, 05:10 AM
  2. Client Internet Explorer Setting
    By Mir in forum Networking
    Replies: 29
    Last Post: 06-26-2008, 12:01 PM
  3. Internet Explorer java version
    By shimer in forum Java Applets
    Replies: 2
    Last Post: 07-31-2007, 07:30 AM
  4. Internet Explorer is unable to open Office documents from an SSL Web site
    By pramod@netedgecomputing.c in forum Web Frameworks
    Replies: 0
    Last Post: 07-19-2007, 07:18 AM
  5. Problems with Internet Explorer and SSL Java
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 07:13 AM

Posting Permissions

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