From: Lloyd Zusman Date: 2005-02-23T21:37:28+09:00 Subject: WEBrick: Tofu and Filehandler (was: Virtual hosts and inherited directory mappings) GOTOU Yuuzou Wrote: > In message , > `Lloyd Zusman ' wrote: > > By looking at this, I see what seems to be a key aspect of > > WEBrick that I previously did not understand. It seems to be > > the case that in order to invoke the functionality of one > > service/servlet from another, all we have to do is call > > the #service method of the second service/servlet from that > > of the first one. Correct? > > Yes. Some utility methods (get_instance for servlets, #[] > and #access_log for virtual servers) are also required in > order to work completely. Thank you. On a related subject, do you or anyone else here know of a way within WEBrick to make Tofu and a FileHandler work together? I'd like to be able to maintain sessions when using a FileHandler, and to access session variables within ERb (in *.rhtml files). Any ideas? Thanks again. -- Lloyd Zusman ljz@asfast.com God bless you.