W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

ReverseString [Was: An example for PostableResource wanted]

From: Anselm Baird-Smith <abaird@w3.org>
Date: Sun, 7 Jul 1996 15:40:11 +0500
Message-Id: <9607071940.AA02046@www18.w3.org>
To: "Mark I. Lubin" <mil@phys.physics.ucf.edu>, www-jigsaw@w3.org
Anselm Baird-Smith writes:
 > Mark I. Lubin writes:
 > Here is a simple shot at the ReverseString resource ( I haven't
 > compiled it, I will just try writing it). Lets' say we will put this
 > resource in class w3c.jigsaw.contrib.ReverseString, so here it goes:

[Sory to follow up on my own mail]

I just tried the resource at home, it works fine. After installing it,
you have to trigger it by pointing your browser to 

http://..../reverse?string=XYZ

where reverse is the name under which you intsalled the resource, and
XYZ is the string to reverse. You can alos do the following:

a) create the file rform.html:
    <html> <form method="POST" action ="rform.html">
           <input type="text" name="string"> </form> </html>

b) Index the above file throug the ReverseString resource.

It should work throiugh the form itself.

Anselm.
Received on Sunday, 7 July 1996 21:36:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT