<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
color:black;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.Opmaakprofiel3, li.Opmaakprofiel3, div.Opmaakprofiel3
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.Niv3-Omron, li.Niv3-Omron, div.Niv3-Omron
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:54.0pt;
text-indent:-36.0pt;
page-break-after:avoid;
font-size:14.0pt;
font-family:Arial;
color:black;
font-weight:bold;}
p.BishopTitle2, li.BishopTitle2, div.BishopTitle2
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:12.0pt;
font-family:Arial;
font-weight:bold;}
p.BishopTitle3, li.BishopTitle3, div.BishopTitle3
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:11.0pt;
font-family:Arial;
font-weight:bold;}
p.BishopTitle4, li.BishopTitle4, div.BishopTitle4
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:11.0pt;
font-family:Arial;
font-weight:bold;}
span.EmailStijl22
{font-family:Arial;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.9pt 42.55pt 42.55pt 2.0cm;}
div.Section1
{page:Section1;}
/* List Definitions */
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'>I have tried to use applets in
OpenCms. I have used one in an ordinary html page to check if the applet works,
which it does. I have subsequently tried to include it in my jsp using absolute
path for the code base and relative path. When using the absolute path I get no
errors but the applet does not appear on the screen (just the white ‘outline’).</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'>Using relative paths gives an error
that the class / jar files are not found and I get an error in my Java concole.</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'>I also read somewhere that upload
applet in version 5 does not work from the root “/”. </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'> </span></font></p>
<p class=MsoNormal><b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:windowtext;font-weight:bold'>Can
someone tell me where to put my class /jar files and <u>how to refer to them</u>
in the applet code in order to make this work? Thanks!</span></font></b></p>
<p class=MsoNormal><b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:windowtext;font-weight:bold'>Where
can I find info/documentation on using applets in OpenCms?</span></font></b></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'>THIS CODE SEEMS TO WORK, BUT NOTHING
ON SCREEN, just outline:</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><p align="center"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><applet codebase="C:\Program
Files\Tomcat\jakarta-tomcat-5.0.18\webapps\opencms\WEB-INF\classes"
code="VbarchartApplet.class" archive="Vbarchart.jar"
width="200" height="200"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><PARAM name="chartproperties"
value="barprops.txt"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><PARAM name="chartdata"
value="bardata.txt"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;color:windowtext'></applet></p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;color:windowtext'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'>USING RELATIVE PATH, THE CLASS FILE
and JAR FILE is NOT FOUND :</span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'> </span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;color:windowtext'><p align="center"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><applet codebase="../system/modules/classes"
code="VbarchartApplet.class" archive="Vbarchart.jar"
width="300" height="300"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><PARAM name="chartproperties"
value="barprops.txt"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'><PARAM name="chartdata"
value="bardata.txt"></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'></applet></p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:windowtext'> </span></font></p>
<p class=MsoAutoSig><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'> </span></font></p>
<p class=MsoAutoSig><font size=2 face=Verdana><span lang=NL-BE
style='font-size:10.0pt;font-family:Verdana'>Arthur </span></font></p>
<p class=MsoAutoSig><font size=1 face=Verdana><span lang=FR style='font-size:
7.5pt;font-family:Verdana'>
</span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=FR style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>