| Java menu knowledge base Error 4
Error 4 means that the applet could not find or not load
the index file. This is one of the most frequent errors and
is almost always due to user error during the design process.
Possible causes:
- You didn't tell the applet where to look for the index
file (use the menufile parameter with most applets; or
re-read the instructions).
- You didn't upload the index file.
- You corrupted the index file when uploading. Try viewing it
directly from the server using your browser.
- You forgot to tell the applet the correct path to the index file. The
path must be relative to the applet class file.
- You put the index file in the wrong place.
- You named the index file incorrectly.
- You have a case-sensitivity issue with filenames on your server.
- You were trying to read index content from a dynamic stream
and your dynamic stream failed to return anything. Test dynamic streams
separately from the applet every time you reprogramme them.
- Someone's firewall has been aggressively configured to stop
applets loading external files - in which case specify the index
using parameters instead.
- You have a cache-related issue. Clear cache; super-reload the browser.
On IE, super-reloading means keep the CTRL key pressed while clicking
the reload button.
- If using complex index file URL's, the URL may get corrupted in
a browser-specific manner. Replace non-alphanumeric symbols in query
suffixes with url-encoded equivalents (%xx), especially in the case
of slashes following question marks.
- You put the index file somewhere which breaches industry-wide java security
definitions (i.e. you are only allowed the directory of the applet or
subdirectories of this).
It may help to read this.
|
|