All AbelCam functionality has been terminated October 8th 2019
 
 
 
Navigation

Edit detail for Applet Ssechat revision 1 of 2

1 2
Editor: sse
Time: 2009/01/08 07:22:48 GMT+0
Note:

changed:
-
<h2>Applet ssechat</h2>


     provides a simple chat interface for a web user.<p>

	if the chat is not enabled, the applet will shut down.<br>
	Otherwise it will present a entry field for the users nick name.<br>
	Once this nickname is known, the applet will show chat entries, a textbox to enter
	text, a send button and a start/stop button.</p><p>

	The applet requests new chat lines every 5 seconds and immediately after sending text.</p><p>

	The applet will time out after 2 minutes. Clicking on the <b>Start</b> button it can be 
	restarted. If a user keeps typing text, it won't time out.</p><p>

    <b>Parameter:</b></p><p>
	<font color="green">&lt;param name="</font><font color="blue">timeout</font><font color="green">" value="</font><font color="blue">120</font><font color="green">"&gt;</font><br>
	&nbsp;&nbsp;how many seconds to wait after the last 'chat send' <br>
	&nbsp;&nbsp;before connection times out<br>
	&nbsp;&nbsp;by default this is set to 120</p><p>

	<font color="green">&lt;param name="</font><font color="blue">baseref</font><font color="green">" value="</font><font color="blue">http://localhost:8080</font><font color="green">"&gt;</font><br>
	&nbsp;&nbsp;if set, the applet will send requests to that location.<br>&nbsp;
	<br></p><p>&nbsp;<i>Java Applets can only request content from the server they were loaded from</i><br>
	&nbsp;&nbsp;by default the applet will send requests to the document location.</p><p>&nbsp;</p><p>

</p>

Applet ssechat

provides a simple chat interface for a web user.

if the chat is not enabled, the applet will shut down.
Otherwise it will present a entry field for the users nick name.
Once this nickname is known, the applet will show chat entries, a textbox to enter text, a send button and a start/stop button.

The applet requests new chat lines every 5 seconds and immediately after sending text.

The applet will time out after 2 minutes. Clicking on the Start button it can be restarted. If a user keeps typing text, it won't time out.

Parameter:

<param name="timeout" value="120">
  how many seconds to wait after the last 'chat send'
  before connection times out
  by default this is set to 120

<param name="baseref" value="http://localhost:8080">
  if set, the applet will send requests to that location.
 

 Java Applets can only request content from the server they were loaded from
  by default the applet will send requests to the document location.