Re: Applet using CP850 encoding
zhengdong79@gmail.com wrote:
....
in my client JRE lib has no charsets.jar file insisde, in my applet I
am using cp850 encoding
To make the classes for CP850 available to the JRE
on the client computer, you can add them to the
archives parameter** of the applet/object element.
my testing using HTML applet PARAM element not working,
I am doing something like
*
<Applet.....
<params Name="ACHIVE" value="charsets.jar"...
* Did you test for ACHIVE or ARCHIVE in the code?
And why are you wasting our time and yours by telling
us 'something like' what your HTML has, rather than
tell us something far more useful, like an URL to the
broken applet?
** Here is an example of an applet that loads several
archives for its functionality.
<http://www.1point1c.org/spacesim/sim/applet.html>
The archive attribute reads..
archive='spacesim-applet.jar, spacesim.jar, spacesim-data.zip'
The main part of the applet is actually spacesim.jar,
which is used for both applet and application. Then
there is a small -applet jar, that contains the single
applet class, and -data.zip - which has data on the
simulation scripts, and is similar to the CP850 jar
of your - more data than anything else.
HTH
Andrew T.