https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/168942&feed=atom&action=history
Microsoft KB Archive/168942 - Revision history
2024-03-28T16:21:25Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/168942&diff=342184&oldid=prev
X010: Text replacement - """ to """
2020-07-21T10:04:02Z
<p>Text replacement - """ to """</p>
<a href="https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/168942&diff=342184&oldid=291312">Show changes</a>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/168942&diff=291312&oldid=prev
X010: Text replacement - ">" to ">"
2020-07-21T00:15:59Z
<p>Text replacement - ">" to ">"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:15, 21 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l109">Line 109:</td>
<td colspan="2" class="diff-lineno">Line 109:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Missing required steps in the process. Follow the steps in the Visual J++ sample named COMCALLINGJAVA.</li></ul></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Missing required steps in the process. Follow the steps in the Visual J++ sample named COMCALLINGJAVA.</li></ul></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><li>Q. When I have an applet in a <FORM<del style="font-weight: bold; text-decoration: none;">&gt; </del>it doesn't submit any information to the server. How can I get the applet to submit its information?<br /></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><li>Q. When I have an applet in a <FORM<ins style="font-weight: bold; text-decoration: none;">> </ins>it doesn't submit any information to the server. How can I get the applet to submit its information?<br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A. The applet doesn't submit any information because the information a user would want to submit is specific to the applet. For example, an applet that shows images may want to submit the currently displayed image number, while an applet that displays a clock may want to submit the GMT time. It is up to the programmer to write the methods to submit the applet. The five steps below show one way you might implement submitting an applet:<br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A. The applet doesn't submit any information because the information a user would want to submit is specific to the applet. For example, an applet that shows images may want to submit the currently displayed image number, while an applet that displays a clock may want to submit the GMT time. It is up to the programmer to write the methods to submit the applet. The five steps below show one way you might implement submitting an applet:<br /></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l121">Line 121:</td>
<td colspan="2" class="diff-lineno">Line 121:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Create a Web page with an applet inside your form.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Create a Web page with an applet inside your form.</li></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><li>Create a hidden field in the <FORM<del style="font-weight: bold; text-decoration: none;">&gt;</del>, where your applet will submit its data.</li></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><li>Create a hidden field in the <FORM<ins style="font-weight: bold; text-decoration: none;">></ins>, where your applet will submit its data.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Write a script function, like processApplet() in the example below, to populate the hidden field by calling public functions of your applet.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Write a script function, like processApplet() in the example below, to populate the hidden field by calling public functions of your applet.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li><p>Set your submit button's onClick function to call the script function you wrote in step 4.<br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li><p>Set your submit button's onClick function to call the script function you wrote in step 4.<br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is the finished product:</p></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is the finished product:</p></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample"> <form action=&quot;/scripts/info.dll&quot; method=GET name=&quot;myForm&quot; <del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample"> <form action=&quot;/scripts/info.dll&quot; method=GET name=&quot;myForm&quot; <ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <applet code=AppletInForm.class id=myapplet</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <applet code=AppletInForm.class id=myapplet</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> width=320 height=240 <del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> width=320 height=240 <ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </applet<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </applet<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <input type=hidden name=&quot;appletImage&quot;<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <input type=hidden name=&quot;appletImage&quot;<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <script language=JScript<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <script language=JScript<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> function processApplet() {</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> function processApplet() {</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>parent.myForm.appletImage.value=document.myForm.myapplet.getCurrentImage();</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>parent.myForm.appletImage.value=document.myForm.myapplet.getCurrentImage();</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l137">Line 137:</td>
<td colspan="2" class="diff-lineno">Line 137:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>user=&quot;+parent.myForm.Username.value);</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>user=&quot;+parent.myForm.Username.value);</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </script<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </script<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <br<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <br<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Username:<input type=text name=&quot;Username&quot;<del style="font-weight: bold; text-decoration: none;">&gt;</del><br<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Username:<input type=text name=&quot;Username&quot;<ins style="font-weight: bold; text-decoration: none;">></ins><br<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <input type=submit value=&quot;Please send me the above picture.&quot;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <input type=submit value=&quot;Please send me the above picture.&quot;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> language=&quot;JScript&quot; onClick=&quot;processApplet();&quot;<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> language=&quot;JScript&quot; onClick=&quot;processApplet();&quot;<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </form<del style="font-weight: bold; text-decoration: none;">&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </form<ins style="font-weight: bold; text-decoration: none;">></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></ol></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></ol></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l201">Line 201:</td>
<td colspan="2" class="diff-lineno">Line 201:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A. Unfortunately, there is not an option or registry setting for jview or wjview that enables Java logging. However, you can redirect the output when invoking an application like the following example:</p></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A. Unfortunately, there is not an option or registry setting for jview or wjview that enables Java logging. However, you can redirect the output when invoking an application like the following example:</p></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">jview main <del style="font-weight: bold; text-decoration: none;">&gt; </del>javalog.txt</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">jview main <ins style="font-weight: bold; text-decoration: none;">> </ins>javalog.txt</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><p>This works for both jview and wjview. Or, you could programmatically direct the output to a file or pipe by reassigning System.out. The following code, which works for jview/wjview and Internet Explorer, shows how this can be done:</p></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><p>This works for both jview and wjview. Or, you could programmatically direct the output to a file or pipe by reassigning System.out. The following code, which works for jview/wjview and Internet Explorer, shows how this can be done:</p></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l225">Line 225:</td>
<td colspan="2" class="diff-lineno">Line 225:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div class="indent"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div class="indent"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><p>The problem is that Applets aren't ActiveX containers and therefore cannot host ActiveX controls. The call to &quot;new myActiveXControl();&quot; doesn't make sense because there is no container to host the control. You should use an <OBJECT<del style="font-weight: bold; text-decoration: none;">&gt; </del>tag in your HTML file, and then pass this object reference to your Applet. For an example of how this is done, see the &quot;OLEControls&quot; sample in the Microsoft Visual J++ samples documentation.</p></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><p>The problem is that Applets aren't ActiveX containers and therefore cannot host ActiveX controls. The call to &quot;new myActiveXControl();&quot; doesn't make sense because there is no container to host the control. You should use an <OBJECT<ins style="font-weight: bold; text-decoration: none;">> </ins>tag in your HTML file, and then pass this object reference to your Applet. For an example of how this is done, see the &quot;OLEControls&quot; sample in the Microsoft Visual J++ samples documentation.</p></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/168942&diff=279950&oldid=prev
X010: Text replacement - "<" to "<"
2020-07-20T15:59:02Z
<p>Text replacement - "<" to "<"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:59, 20 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l109">Line 109:</td>
<td colspan="2" class="diff-lineno">Line 109:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Missing required steps in the process. Follow the steps in the Visual J++ sample named COMCALLINGJAVA.</li></ul></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Missing required steps in the process. Follow the steps in the Visual J++ sample named COMCALLINGJAVA.</li></ul></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><li>Q. When I have an applet in a <del style="font-weight: bold; text-decoration: none;">&lt;</del>FORM&gt; it doesn't submit any information to the server. How can I get the applet to submit its information?<br /></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><li>Q. When I have an applet in a <ins style="font-weight: bold; text-decoration: none;"><</ins>FORM&gt; it doesn't submit any information to the server. How can I get the applet to submit its information?<br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A. The applet doesn't submit any information because the information a user would want to submit is specific to the applet. For example, an applet that shows images may want to submit the currently displayed image number, while an applet that displays a clock may want to submit the GMT time. It is up to the programmer to write the methods to submit the applet. The five steps below show one way you might implement submitting an applet:<br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A. The applet doesn't submit any information because the information a user would want to submit is specific to the applet. For example, an applet that shows images may want to submit the currently displayed image number, while an applet that displays a clock may want to submit the GMT time. It is up to the programmer to write the methods to submit the applet. The five steps below show one way you might implement submitting an applet:<br /></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l121">Line 121:</td>
<td colspan="2" class="diff-lineno">Line 121:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Create a Web page with an applet inside your form.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Create a Web page with an applet inside your form.</li></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><li>Create a hidden field in the <del style="font-weight: bold; text-decoration: none;">&lt;</del>FORM&gt;, where your applet will submit its data.</li></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><li>Create a hidden field in the <ins style="font-weight: bold; text-decoration: none;"><</ins>FORM&gt;, where your applet will submit its data.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Write a script function, like processApplet() in the example below, to populate the hidden field by calling public functions of your applet.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Write a script function, like processApplet() in the example below, to populate the hidden field by calling public functions of your applet.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li><p>Set your submit button's onClick function to call the script function you wrote in step 4.<br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li><p>Set your submit button's onClick function to call the script function you wrote in step 4.<br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is the finished product:</p></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is the finished product:</p></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample"> <del style="font-weight: bold; text-decoration: none;">&lt;</del>form action=&quot;/scripts/info.dll&quot; method=GET name=&quot;myForm&quot; &gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample"> <ins style="font-weight: bold; text-decoration: none;"><</ins>form action=&quot;/scripts/info.dll&quot; method=GET name=&quot;myForm&quot; &gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>applet code=AppletInForm.class id=myapplet</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>applet code=AppletInForm.class id=myapplet</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> width=320 height=240 &gt;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> width=320 height=240 &gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>/applet&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>/applet&gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>input type=hidden name=&quot;appletImage&quot;&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>input type=hidden name=&quot;appletImage&quot;&gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>script language=JScript&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>script language=JScript&gt;</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> function processApplet() {</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> function processApplet() {</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>parent.myForm.appletImage.value=document.myForm.myapplet.getCurrentImage();</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>parent.myForm.appletImage.value=document.myForm.myapplet.getCurrentImage();</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l137">Line 137:</td>
<td colspan="2" class="diff-lineno">Line 137:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>user=&quot;+parent.myForm.Username.value);</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>user=&quot;+parent.myForm.Username.value);</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>/script&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>/script&gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>br&gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Username:<del style="font-weight: bold; text-decoration: none;">&lt;</del>input type=text name=&quot;Username&quot;&gt;<del style="font-weight: bold; text-decoration: none;">&lt;</del>br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Username:<ins style="font-weight: bold; text-decoration: none;"><</ins>input type=text name=&quot;Username&quot;&gt;<ins style="font-weight: bold; text-decoration: none;"><</ins>br&gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>input type=submit value=&quot;Please send me the above picture.&quot;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>input type=submit value=&quot;Please send me the above picture.&quot;</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> language=&quot;JScript&quot; onClick=&quot;processApplet();&quot;&gt;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> language=&quot;JScript&quot; onClick=&quot;processApplet();&quot;&gt;</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <del style="font-weight: bold; text-decoration: none;">&lt;</del>/form&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <ins style="font-weight: bold; text-decoration: none;"><</ins>/form&gt;</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></ol></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></li></ol></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></li></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l225">Line 225:</td>
<td colspan="2" class="diff-lineno">Line 225:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div class="indent"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div class="indent"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><p>The problem is that Applets aren't ActiveX containers and therefore cannot host ActiveX controls. The call to &quot;new myActiveXControl();&quot; doesn't make sense because there is no container to host the control. You should use an <del style="font-weight: bold; text-decoration: none;">&lt;</del>OBJECT&gt; tag in your HTML file, and then pass this object reference to your Applet. For an example of how this is done, see the &quot;OLEControls&quot; sample in the Microsoft Visual J++ samples documentation.</p></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><p>The problem is that Applets aren't ActiveX containers and therefore cannot host ActiveX controls. The call to &quot;new myActiveXControl();&quot; doesn't make sense because there is no container to host the control. You should use an <ins style="font-weight: bold; text-decoration: none;"><</ins>OBJECT&gt; tag in your HTML file, and then pass this object reference to your Applet. For an example of how this is done, see the &quot;OLEControls&quot; sample in the Microsoft Visual J++ samples documentation.</p></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/168942&diff=88611&oldid=prev
3155ffGd: importing KB archive
2020-07-18T15:34:18Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB168942"></span>Frequently Asked Questions About the SDK for Java =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 168942<br />
<br />
Article Last Modified on 11/14/2005<br />
<br />
<br />
-----<br />
<br />
APPLIES TO<br /><br />
<br /><br />
<br />
* Microsoft Java Virtual Machine<br />
* Microsoft Software Development Kit for Java 2.02<br />
* Microsoft Software Development Kit for Java 3.2<br />
* Microsoft Software Development Kit for Java 2.01<br />
* Microsoft Software Development Kit for Java 2.02<br />
* Microsoft Software Development Kit for Java 3.0<br />
* Microsoft Data Access Components 2.1 Service Pack 1<br />
<br />
<br />
-----<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q168942<br />
<br />
</div><br />
<div class="summary_section"><br />
<br />
== SUMMARY ==<br />
<br />
This article covers some of the Frequently Asked Questions (FAQ) about the SDK for Java. For other Java related FAQs search the Web at:<br /><br />
<br /><br />
http://msdn.microsoft.com/support for 'JAVA' and 'FAQ'.<br />
<br />
</div><br />
<div class="moreinformation_section"><br />
<br />
== MORE INFORMATION ==<br />
<br />
<ol><br />
<li>Q. How does the Msdev.exe, in Visual J++, relax the security in Internet Explorer so that my applet can run outside the Java sandbox, despite the fact that it is not in a signed .cab file?<br /><br />
<br /><br />
A. In the Microsoft VM for Java, that is included with Internet Explorer 3.x, only trusted class files can access resources outside the Java sandbox. Class files from digitally signed .cab files are trusted. If the HTML file is run from Microsoft Developer Studio (MSDEV), the class files are also trusted. This can be very helpful during applet development. However, to deliver your applet to other users, you must place them in a signed CAB file.<br /><br />
<br /><br />
When executing or debugging a Java Applet from MSDEV, the security restrictions in Internet Explorer are relaxed for quick and easy testing. MSDEV prepends the project path to the CLASSPATH environment variable that is used by Internet Explorer. This gives the classes trusted status.</li><br />
<li>Q. Why does InetAddress.getLocalHost() return localhost/127.0.0.1 in my Applet?<br /><br />
<br /><br />
A. An untrusted applet isn't allowed to get the real localhost IP address because it opens various types of network attacks. If the Java libs detect an untrusted applet, then it will return the loopback address (127.0.0.1).<br /><br />
<br /><br />
JDK 1.02's/1.1's appletviewer will do the same thing unless you've changed the &quot;network access&quot; property in the appletviewer to &quot;unrestricted.&quot;</li><br />
<li><p>Q. Is it possible for an applet to read a file from my Web server? If so, how?<br /><br />
<br /><br />
A. The class below shows how to read a text file named poem.txt from the server. NOTE: Place the .htm and .class files in the same directory on the Web server along with a text file named poem.txt with at least one line of text:</p><br />
<pre class="codesample">import java.io.*;<br />
import java.net.*;<br />
import java.applet.*;<br />
import java.awt.*;<br />
<br />
class ReadFile extends Applet {<br />
public void start () {<br />
try {<br />
URL u2 = new URL(getCodeBase(),&quot;poem.txt&quot;);<br />
DataInputStream d = new DataInputStream(u2.openStream());<br />
String s5 = d.readLine();<br />
add(new Label(s5));<br />
}<br />
catch (Exception e) {<br />
System.out.println(&quot;Error: &quot; + e.toString());<br />
}<br />
}<br />
}<br />
</pre></li><br />
<li>Q. What are common causes of the &quot;Failed to create object&quot; message when trying to instantiate a COM object written in Java?<br /><br />
<br /><br />
A. Here are some common causes:<br /><br />
<br /><br />
<br />
<ul><br />
<li>Failing to have the Java class in the CLASSPATH.</li><br />
<li>Failing to declare your Java method as 'public.'</li><br />
<li>Failing to register the class file (using javareg.exe).</li><br />
<li>Using an old version of the Microsoft VM for Java in some cases (for example, if you are attempting to use CreateObject). For more information about Microsoft VM for Java, visit the following Microsoft Web site:<br />
<div class="indent"><br />
<br />
<p>http://www.microsoft.com/mscorp/java</p><br />
<br />
</div></li><br />
<li>Missing required steps in the process. Follow the steps in the Visual J++ sample named COMCALLINGJAVA.</li></ul><br />
</li><br />
<li>Q. When I have an applet in a &lt;FORM&gt; it doesn't submit any information to the server. How can I get the applet to submit its information?<br /><br />
<br /><br />
A. The applet doesn't submit any information because the information a user would want to submit is specific to the applet. For example, an applet that shows images may want to submit the currently displayed image number, while an applet that displays a clock may want to submit the GMT time. It is up to the programmer to write the methods to submit the applet. The five steps below show one way you might implement submitting an applet:<br /><br />
<br /><br />
<br />
<ol style="list-style-type: lower-alpha;"><br />
<li><p>Create an applet with a public function that returns the information you want to submit: (For the first example above, you would return the image number.)</p><br />
<pre class="codesample">public int getCurrentImage() {<br />
return m_nCurrImage;<br />
}<br />
</pre></li><br />
<li>Create a Web page with an applet inside your form.</li><br />
<li>Create a hidden field in the &lt;FORM&gt;, where your applet will submit its data.</li><br />
<li>Write a script function, like processApplet() in the example below, to populate the hidden field by calling public functions of your applet.</li><br />
<li><p>Set your submit button's onClick function to call the script function you wrote in step 4.<br /><br />
<br /><br />
Here is the finished product:</p><br />
<pre class="codesample"> &lt;form action=&quot;/scripts/info.dll&quot; method=GET name=&quot;myForm&quot; &gt;<br />
&lt;applet code=AppletInForm.class id=myapplet<br />
width=320 height=240 &gt;<br />
&lt;/applet&gt;<br />
&lt;input type=hidden name=&quot;appletImage&quot;&gt;<br />
&lt;script language=JScript&gt;<br />
function processApplet() {<br />
parent.myForm.appletImage.value=document.myForm.myapplet.getCurrentImage();<br />
alert(&quot;Sending form: image=&quot;+parent.myForm.appletImage.value+&quot;<br />
user=&quot;+parent.myForm.Username.value);<br />
}<br />
&lt;/script&gt;<br />
&lt;br&gt;<br />
Username:&lt;input type=text name=&quot;Username&quot;&gt;&lt;br&gt;<br />
&lt;input type=submit value=&quot;Please send me the above picture.&quot;<br />
language=&quot;JScript&quot; onClick=&quot;processApplet();&quot;&gt;<br />
&lt;/form&gt;<br />
</pre></li></ol><br />
</li><br />
<li>Q. How can I get showDocument() to display a URL, when the URL protocol isn't supported by Java (for example FTP)?<br /><br />
<br /><br />
A. The URL class verifies Java protocol support by calling the protocol's Handler class. The four steps below show how to add a protocol and demonstrates how to make the call to showDocument:<br /><br />
<br /><br />
<br />
<ol style="list-style-type: lower-alpha;"><br />
<li><p>Create a package to implement the protocol, for example:</p><br />
<pre class="codesample">.\sun\net\www\protocol\ftp<br />
</pre></li><br />
<li><p>Implement the Handler class in the sun.net.www.protocol.{protocol-name} package. For example:</p><br />
<pre class="codesample">.\sun\net\www\protocol\ftp\Handler.java.<br />
<br />
package sun.net.www.protocol.FTP;<br />
import java.net.URL;<br />
import java.net.URLConnection;<br />
import java.net.URLStreamHandler;<br />
public class Handler extends URLStreamHandler {<br />
public synchronized URLConnection openConnection(URL u) {<br />
return new FTPURLConnection(u);<br />
}<br />
}<br />
</pre></li><br />
<li><p>Implement any functions your Handler class uses:</p><br />
<pre class="codesample">package sun.net.www.protocol.FTP;<br />
import java.io.IOException;<br />
public class FTPURLConnection extends sun.net.www.URLConnection {<br />
FTPURLConnection(java.net.URL u) {<br />
super(u);<br />
}<br />
public void connect() throws IOException {<br />
throw new IOException(&quot;FTP doesn't support connect().&quot;);<br />
}<br />
}<br />
</pre></li><br />
<li><p>Create the URL and call the showDocument function</p><br />
<pre class="codesample">import java.net.*;<br />
public class FTPTest extends java.applet.Applet {<br />
public void init() {<br />
add(new java.awt.Button(&quot;Click to open FTP session.&quot;));<br />
}<br />
public boolean action(java.awt.Event evt, Object what) {<br />
try {<br />
URL u=new URL(&quot;ftp://ftp.microsoft.com&quot;);<br />
getAppletContext().showDocument(u,&quot;FTPFrame&quot;);<br />
} catch (Exception e) {<br />
showStatus(e.toString());<br />
e.printStackTrace();<br />
}<br />
return true;<br />
}<br />
}<br />
</pre></li></ol><br />
</li><br />
<li><p>Q. How do I redirect output from jview or wjview?<br /><br />
<br /><br />
A. Unfortunately, there is not an option or registry setting for jview or wjview that enables Java logging. However, you can redirect the output when invoking an application like the following example:</p><br />
<pre class="codesample">jview main &gt; javalog.txt<br />
</pre><br />
<p>This works for both jview and wjview. Or, you could programmatically direct the output to a file or pipe by reassigning System.out. The following code, which works for jview/wjview and Internet Explorer, shows how this can be done:</p><br />
<pre class="codesample"> if<br />
(&quot;true&quot;.equalsIgnoreCase(System.getProperty(&quot;com.ms.applet.enable.logging&quot;)<br />
)) {<br />
try {<br />
String logdir = System.getProperty(&quot;java.home&quot;);<br />
PrintStream ps = new PrintStream(new BufferedOutputStream(new<br />
FileOutputStream(new File(logdir,<br />
&quot;javalog.txt&quot;))), true);<br />
System.out = ps; // comment line if using SDK 2.0x<br />
// System.setOut(ps); // uncomment line if using SDK 2.0x<br />
System.err = ps; // comment line if using SDK 2.0x<br />
// System.setErr(ps); // uncomment line if using SDK 2.0x<br />
} catch (Exception e) {<br />
}<br />
}</pre><br />
<p>The ability to alter the value of System.out and other system streams may be removed or changed in the future.</p></li><br />
<li>Q. When I create an ActiveX control in Java and then call its methods I get a java.lang.UnsatisfiedLinkError exception. Why can't I call the methods?<br /><br />
<br /><br />
A. For the Microsoft VM for Java build 1518:<br />
<div class="indent"><br />
<br />
<p>The problem is that Applets aren't ActiveX containers and therefore cannot host ActiveX controls. The call to &quot;new myActiveXControl();&quot; doesn't make sense because there is no container to host the control. You should use an &lt;OBJECT&gt; tag in your HTML file, and then pass this object reference to your Applet. For an example of how this is done, see the &quot;OLEControls&quot; sample in the Microsoft Visual J++ samples documentation.</p><br />
<br />
</div><br />
For the Microsoft VM for Java build 2057 (SDK 2.0x):<br />
<div class="indent"><br />
<br />
<p>You need to use the AXComponent class, located in the com.ms.activeX package, to host your ActiveX control.</p><br />
<br />
</div></li><br />
<li>Q. How do I get the SampleSelect JDBC-ODBC sample to work with the Northwind database that comes with Access?<br /><br />
<br /><br />
A. An updated jdbcrel.htm has been placed in the sample pack that details the steps necessary to connect to the Northwind database. For more information about the sample pack, visit the following Microsoft Web site:<br />
<div class="indent"><br />
<br />
<p>http://www.microsoft.com/mscorp/java</p><br />
<br />
</div></li><br />
<li>Q. When I call show() on a modal dialog, the Microsoft VM for Java continues executing the code after the show() call even though I haven't dismissed the dialog yet. Is this a known bug?<br /><br />
<br /><br />
A. This is a bug and has been fixed in the Microsoft VM for Java that is provided in the SDK 2.0x (build 2057 of the Microsoft VM for Java).</li><br />
<li>Q. Why does System.getProperty(&quot;user.name&quot;) return null?<br /><br />
<br /><br />
A. This is a bug and has been fixed in the Microsoft VM for Java that is provided in the SDK 2.0x (build 2057 of the Microsoft VM for Java).</li><br />
<li><p>Q. How do I tell from my Java applet or application what version of the Microsoft VM for Java is installed on the system?<br /><br />
<br /><br />
A. Use the SystemVersionManager.getVMVersion() static method in com.ms.util package to find the version number of the installed Microsoft VM for Java. The BuildIncrement property will indicate the version the Microsoft VM for Java:</p><br />
<pre class="codesample">String build;<br />
build=SystemVersionManager.getVMVersion().getProperty(&quot;BuildIncrement&quot;);<br />
System.out.println(&quot;Using build &quot;+build);<br />
</pre></li><br />
<li>Q. I am getting the error message &quot;Security Exception: Couldn't connect to with origin from file ***&quot; in my javalog.txt file.<br /><br />
<br /><br />
A. This could be caused by changes to the AppletSecurity class, some of these restrictions have been loosened in build 1517 of the VM. For more information about the latest build for Microsoft VM, visit the following Microsoft Web site:<br />
<div class="indent"><br />
<br />
<p>http://www.microsoft.com/mscorp/java</p><br />
<br />
</div></li><br />
<li>Q. How can I execute JVIEW.EXE without displaying a DOS BOX?<br /><br />
<br /><br />
A. Use WJVIEW.EXE instead of JVIEW.EXE. WJVIEW can be found in the SDK for Java.</li><br />
<li>Q. How can I combine all of my Java application's classes into one executable file?<br /><br />
<br /><br />
A. Use JEXEGEN.EXE to convert your Java classes into a Win32 application. The Win32 application will still require the Microsoft Win32 Virtual Machine for Java to be installed on the local machine.</li><br />
<li>Q. Has the support for SafeArray been updated in the VM?<br /><br />
<br /><br />
A. Yes. For more information, see the documentation for the SDK for Java 2.0x, and follow the link from Packages and Classes to the com.ms.com package then to Class Variant or Class SafeArray.</li><br />
<li>Q. How do I install the developer version of classes.zip for the SDK 2.0x?<br /><br />
<br /><br />
A. Run the ClassD.exe from the bin directory of the SDK 2.0x, then run javasrc.exe (installed by Visual J++ in the %windir%\java\classes directory) to extract the Java files. If you do not have Visual J++, use a program that can unzip the *.JAVA files from the classes.zip file. Note: You may have to delete your old classes.zip first.</li><br />
<li>Q. How can I enable the Java JIT compiler for my application?<br /><br />
<br /><br />
A. If you have enabled JIT in Internet Explorer, your applications will also run in JIT compiler mode. To enable JIT in Internet Explorer choose View, Options, Advanced, Enable Java JIT compiler.<br /><br />
<br /><br />
In the registry JIT can be enabled by setting the following to 0x00000001:<br />
<div class="indent"><br />
<br />
<p>HKEY_Current_User\Software\Microsoft\Java VM\EnableJIT</p><br />
<br />
</div></li></ol><br />
<br />
<br />
</div><br />
<div class="references_section"><br />
<br />
== REFERENCES ==<br />
<br />
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:<br />
<div class="indent"><br />
<br />
http://www.microsoft.com/mscorp/java/<br />
<br />
<br />
</div><br />
<br />
</div><br />
Keywords: kberrmsg kbinfo kbjit kbdatabase kbcommandline kbfaq KB168942<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd