my Postable Resource story (part 3)

Hi,

a while ago I asked for some docs and samples of Postable Resources. 
They (should) do the work 
if you have a HTML.-Form and expect some dynamic HTML answer. 
Anselm sent me the 
PasswordEditor.java.

Since this (probably) only compiles with the next distribution I studied it and 
through away all the stuff I 
did not need (or understand). I then also converted it to NetRexx (a java 
translator with some string 
handling classes, which some of us consider the 'real java')

There is one thing to mention here that NetRexx has no static block so I use 
a constuctor with static 
properties.

I added a resource name=PR2  and class=w3c.jigsaw.contrib.PR2 in my 
Test directory.
PR2.nrx is attached as NetRexx source. PR2.class is the compiled 
bytecode in my contrib dir.

If I now start /Test/PR2 the resouce works just fine. (and has done so since a 
couple of days)

With some swelled head (megalomania) I installed a SQL/JDBC database 
(decibel, my DB2 also 
works) and manged to query it from another (similar) NetRexx postable 
resource called DynaForm. 
(DynaForm.nrx is also attached).

I added the new resource /Test/DynaForm and to my big suprise it RAN for 
a day and some Jigsaw 
stops!

[Happy End here, please stop reading]

The following morning all resources -BUT DynaForm- still worked, but now 
Jigsaw gives me:

document http://pentium/Test/DynaForm is indexed but not available
The server is misconfigured. 

Recompiling, renaming, resouce delete and add .... nothing helped. I have 
not seen DynaForm ever 
since  :=((

<sigh>

Kai

P.S. If someone is willing/interested to reproduce. I can provide all pointers 
to Decibel, JDBC and 
NetRexx. I can also provide the translated Java source code (possibly to 
use without NetRexx 
classes).
P.S2 The flag convert Post to Get is always set.




Kai Schmidt  // SerKom WWW-Konzepte
Tel. 0711/682167 Fax. 0711/6787976
WWW/FTP: WWW-Konzepte.schwaben.de



Kai Schmidt  // SerKom WWW-Konzepte
Tel. 0711/682167 Fax. 0711/6787976
WWW/FTP: WWW-Konzepte.schwaben.de



Kai Schmidt  // SerKom WWW-Konzepte
Tel. 0711/682167 Fax. 0711/6787976
WWW/FTP: WWW-Konzepte.schwaben.de

Received on Thursday, 21 November 1996 14:39:31 UTC