Femto Web Server V1.4-F

dfischer.femtowebserver.test
Class CurrentTimeTestSssi

java.lang.Object
  |
  +--dfischer.femtowebserver.test.CurrentTimeTestSssi
All Implemented Interfaces:
HttpdSssiInterface

public class CurrentTimeTestSssi
extends java.lang.Object
implements HttpdSssiInterface

This SSSI example displays the current time, based on a specific time zone.

 HTML Example File: /dfischer/femtowebserver/test/CurrentTimeTestSssi.html

 <HTML>
 <BODY>
 Current Time = <!-- @dfischer.femtowebserver.test.CurrentTimeTestSssi("ECT") -->
 </BODY>
 </HTML>
 
Result inside Web Browser Window:
Current Time = 20 Aug 2002 00:26:15 (ECT)

You can download the sourcecode of all examples at: http://www.d-fischer.com/femto/FemtoProgrammingExamplesSourcecode.zip


Constructor Summary
CurrentTimeTestSssi()
           
 
Method Summary
 java.lang.String execute(java.lang.String[] args, HttpRequest httpRequest, HttpdProperties httpdProperties)
          Executes the SSSI.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentTimeTestSssi

public CurrentTimeTestSssi()
Method Detail

execute

public java.lang.String execute(java.lang.String[] args,
                                HttpRequest httpRequest,
                                HttpdProperties httpdProperties)
                         throws java.lang.Exception
Description copied from interface: HttpdSssiInterface
Executes the SSSI.
Specified by:
execute in interface HttpdSssiInterface
Following copied from interface: dfischer.femtowebserver.httpd.HttpdSssiInterface
Parameters:
args - parameters of the SSSI call from the HTML file. If no parameter is given, the array has a length of zero (but will never be null)
httpRequest - access to the HTTP request data (browser request)
httpdProperties - read/only access to the Femto Web Server configuration

Femto Web Server V1.4-F

Copyright 2002, 2003, 2006 by Ingenieurbüro David Fischer GmbH, Switzerland. All rights reserved.