CalendarServlet


It is a Java servlet implements calendar. You can use it as a standard calendar system, for booking some resources etc.

the usage is:

    http://your_host/servlet/CalendarServlet?config_file

    Runs the calendar and use the mentioned file as a configuration file.
 

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

    param=value

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

#
# Calendar settings
#
 

# color for the left frame (default is #FFFFFF)
bgcolor1=#FFFFCC

# font size for the left frame (by default is default browser's font size)
size1=2

# color for the main right frame (default is #FFFFFF)
bgcolor2=#FFFFC0

# font size for the right frame (by default is default browser's font size)
size2=6

# frames setting (default is 25%,75%)
frames=30%,70%

# frame border (default is 0)
border=1

# title for the main frame (default value is empty - no title)
title=My calendar

# calendar style: 1 - first day of week is Monday
# 2 - first day of week is Sunday
# default value is 1
style=1

# allows add data: 1 -yes, 0 -no (default value is 1)
add=1

# allows edit data 1- yes, 0- no (default value is 0)
edit=1

# allows delete data 1-yes, 0- no (default value is 0)
delete=1

# allows more that one record for the same time 1-yes 0- no
# (default value is 0). E.g. you can use this servlet for booking and
# allows only one record assigned to some time
share=1

# base directory - no default settings. This parameter must be set.
base=your_path

What is new in 1.27
    - performance issue

What is new in 1.26
    - new functions added

What is new in 1.25
    - bugs fixed

What is new in 1.24:
    - new functions

What is new in 1.23:
    - new functions
    - performance issue

What is new in 1.22:
    - bugs fixed
    - performance issue

What is new in 1.21:
    - new parameter added
    - performance issue

What is new in 1.2:
    - some design changes
    - bugs fixed
    Sample of configuration file: calconf

    Comments, suggestions?


Back to the CalendarServlet 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.