advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement

Slide Servlet


It is a Java servlet allows you to share documents. How does it work ? Run the servlet. On the main screen you can create some topic (channel, presentation). Type the name (let it be Acme presentation) and any password you will associate with this topic. As soon as you do that, everybody who is running the same servlet will be able to join  this topic (channel). They do not need password for this. Run the same servlet from the another box (or just simply in the another window). Join to Acme presentation topic. Go back to the main window, type some URL, e.g. http://coldjava.hypermart.net (you can choose any of course) and press Go button. See - the same page will be opened in the any window joined to this topic ! And you do not need to update (refresh) browser on the client side. So your client do not need to do something. He/She will see the same page you typed in the main window. In other words it is similar to the PUSH.   Type another URL (show your next slide) etc. This is a main idea.

Features:

1. You can create script file with your slides. It is a text file located anywhere on your local box. Each line describes one slide (empty lines and lines starts with # or // are ignored) in the tab-separated format:
URL    Any mnemonic name
E.g.:
http://www.sun.com    Main Sun's site
http://java.sun.com    Main Java page
// etc.

Press Browse button, select your file and press Read  button. Now you can select pages from the list.

2. You can share local files. E.g. select any .doc file in the master window. The same Word document will be opened in the any joined browser.

3. As a presentation creator you can any time return back to the topic page (Re-enter) using the password you choose for this topic.

4. You can manage all topics using administrators password. See below how to set this password.
 

the usage is:

    http://your_host/servlet/SlideServlet

    Configuration file for your slide show must be included as an initial parameter for this servlet. Parameter name is config. So in your servlets.properties file you must have some like this:
    SlideServlet.code=SlideServlet
    SlideServlet.initparams=config=path_to_your_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 # or // are ignored. Current version supports the following list of parameters:

# working directory (cache) on your server. This parameter is mandatory
dir=some_server_directory

# administrator's password. Default value is welcome
admin=your_secret_word

# screen's background (default value is #FFFFFF)
bgcolor=#FFFFFF

# screen's foreground (default value is #000000)
forecolor=#000000

# font size (by default is current browser's font)
size=2

#font face (by default is current browser's font settings)
face=Arial,Times

# title. Default value is 'ColdJava's slide'
title=My slides

# head. You can set here some file contains any html-code. This code will be
# outputted at the beginning of each page. So you can set for example some banners.
# By default this value is empty
head=path_to_your_file

# timeout (client's refresh time) in seconds. By default this value is 15
timeout=15

# How to open non-html document. 0 - open in the browser, 1 - open in the
# separate window. Default value is 0
window=0
 

Note: slide's configuration file can be saved anywhere on your server. Just set the proper path in your servlet.properties file.

What is new in 1.34:
    - new parameters added

What is new in 1.33:
    - some bugs fixed
    - mime suppot extended

What is new in 1.32:
    - mime support extended

What is new in 1.31:
    - some bugs fixed
 

    For downloading:   SlideServlet.class

 © Coldjava     Comments?


Back to Slide Servlet

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.

 Microsoft Visual Studio 2010 Showcase
 Avaya Developer Showcase
 MSDN Spotlight
 PHP for Windows Showcase
XML error: undefined entity at line 39
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Windows 7: From Beta to Final Code in One Year
Google Shows Off Chrome OS, Releases Source
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?
Fedora 12 Takes Aim at Linux Networking
Top Supercomputer Nearly Doubles in Speed
Fedora 12 Linux Tackles Virtualization
Apple Gives iPhone Developers App Status Tracker
Novell Sets OpenSUSE 11.2 Free

Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Exploring HTML 5's Audio/Video Multimedia Support
Overriding Virtual Functions? Use C++0x Attributes to Avoid Bugs.
Understanding the Cloud Computing Security Vulnerabilities
Cisco and IBM Target a Greener World
Upgrade to Visual Studio 2010 with the Ultimate Offer

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs