Results 21 to 25 of 25
- 07-09-2010, 05:15 AM #21
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
First of all watch theCaused 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):eek:java.io.*;
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 :)
- 07-15-2010, 04:02 AM #22
Senior Member
- Join Date
- Feb 2010
- Location
- Waterford, Ireland
- Posts
- 748
- Rep Power
- 4
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.
- 07-16-2010, 03:23 PM #23
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
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
I think the applet is supposed to be downloaded from its native host and runs code like aCaused by: java.io.FileNotFoundException: \localhost\C:\Documents and Settings\Administrator\Java\ch3\GridLayoutExample. class (The filename, directory name, or volume label syntax is incorrect)
getDocumentBase()+getCodeBase()
And owing to this ...
we must looking GridLayoutExample. class at its native host resource :) like aCaused 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)
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 :)
- 07-17-2010, 02:16 AM #24
Senior Member
- Join Date
- Feb 2010
- Location
- Waterford, Ireland
- Posts
- 748
- Rep Power
- 4
- 07-18-2010, 12:45 AM #25
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
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 :)
Similar Threads
-
Internet Explorer
By maria.mt in forum New To JavaReplies: 2Last Post: 04-17-2009, 05:10 AM -
Client Internet Explorer Setting
By Mir in forum NetworkingReplies: 29Last Post: 06-26-2008, 12:01 PM -
Internet Explorer java version
By shimer in forum Java AppletsReplies: 2Last Post: 07-31-2007, 07:30 AM -
Internet Explorer is unable to open Office documents from an SSL Web site
By pramod@netedgecomputing.c in forum Web FrameworksReplies: 0Last Post: 07-19-2007, 07:18 AM -
Problems with Internet Explorer and SSL Java
By Peter in forum Advanced JavaReplies: 2Last Post: 07-04-2007, 07:13 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks