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.

 DevX Skillbuilding from IBM developerWorks
 RIA Run Contest: Build Next-Gen Apps in Microsoft Silverlight 2
 Avaya DevConnect Center
 Intel Go Parallel Portal
 Internet.com eBook Library
 Microsoft RIA Development Center
 Destination .NET
XML error: not well-formed (invalid token) at line 53
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%.

SaaS Tool Offers Custom Database Development
Microsoft’s Automated Agent: Can We Talk?
Borland Finally Sells CodeGear
Red Hat Heads For The JON 2.0
Out with the Old, in with the New at JavaOne
Trolltech Expands WebKit Footprint
Oracle: Eating its Own Open Source Food
Big Money and Open Source May Not Compute
Open Source Embrace Gives Sun New Fans
NetBeans, OpenSolaris Also in Spotlight at JavaOne

Taming Trees: Building Branching Structures
Clean Up Function Syntax Mess with decltype
Sutter Speaks: The Future of Concurrency
INTEL SCAVENGER HUNT, LENOVO X300 AND APPLE IPOD TOUCH GIVEAWAY (the "Giveaway")
Comparing Multi-Core Processors for Server Virtualization
Intel® Desktop Business Computing Solutions
Intel: What Downturn?
Managing the Evolving Data Center
Implement Drag and Drop in Your Windows Forms Applications
Processing Linked Web Data with XSLT

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



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES