Servlet: ChatServlet


It is a Java servlet implements chat rooms. It is a pure HTML implementation, so this chat will be free from any firewall's restrictions.

the usage is:

    http://your_host/servlet/ChatServlet?config_file

    Runs the messageboard and use the mentioned file as a configuration file. Each chat (room) will be identified by the name of configuration file.
 

Configuration file is a text file, each line describes one parameter in the form of

    param=value

Empty lines and lines begins with # are ignoring. Current version supports the following list of params:
 

# messages keeped on the screen (default value is 60)
messages=50

# border between input/output frames (default value is 1)
border=0

# view chat without login: 1 - yes, 0 - no (default value is 1)
# if view=1 you can see messages without logging into chat
view=1

# top frame background (default #FFFFFF)
bgcolor1=#FFFFFF

# bottom frame background (default #FFFFFF)
bgcolor2=#FFFF00

# refresh time in seconds (default 30)
# refresh time for output frame
refresh=60

# inactivity time in seconds (default 600)
# close user session after that time in case of inactivity
inactivity=300

# show user host/ip (default 0)
# show user information during login
privacy=1

# log file (no log by default)
# Remark: log will be filled at the  time when amount of messages
# reach given restriction (see 'messages')
log=your_path_here
 

What is new in 1.14:
    - performance issue

What is new in 1.13:
    - performance issue
    - some bugs fixed

What is new in 1.12:
    - performance issue
    - some bugs fixed

What is new in 1.11:
    - some bugs fixed


Back to the ChatServlet page.

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.