|Java menu knowledge base|
Navigating non-standard web documents
PDF files and documents with non-standard names and extensions
When using applets to load PDF files into another part of a frameset,
you may find you need to drop the usual LINK command in the index
file and use a SCRIPT command instead (or associated DHTML
commands). The SCRIPT command does not
work on Mac combined with MSIE.
Another possible solution for such problems is to point the
applet at a server-side script (in your own preferred language)
which then returns the document in question; i.e. instead of
using client-side script with the applet's SCRIPT command, route
the call through the server.
This may apply to some other document formats as well.
In addition, if you are using document names where the path or
filename includes punctuation (e.g. spaces, commas) or other
non-alphanumeric characters, you may find such URL's fail in
a browser-specific manner unless you use URL-encoding. URL-encoding
means exchanging the non-standard character for %xx codes where
xx is a 2-digit number.