★ wanayoo — archive 1999 http://coldjava.hypermart.net/servlets/chat.htmNouvelle recherche | Portail wanayoo
Chat servlet 1.14




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
 
 

    For downloading:   ChatServlet.class
    Sample of configuration file: chatconf

    Comments, suggestions ?