[Simpleweb-Support] More with templates?
Brought to you by:
niallg
From: Jack P. <jac...@th...> - 2004-10-29 23:32:35
|
I actually succeeded :) in duplicating the template sample. That illustrated using a URL that included the class, e.g. http://localhost:8080/TemplateController.class I would now like to migrate that idea to fire against URLs which look like this: http://localhost:8080/portal/somepage.html or http://localhost:8080/blog/someotherpage.html I'm presently guessing (I'm brand new to this puppy!) that I'll need a different Context, something besides FileContext. I am imagining letting "portal" or "blog" be a template selector. Any hints would be greatly appreciated. Maybe a whole template-based portal example, if there is one. I'd rather not use Mamba because of its GPL license, unless that moves to LGPL along with SimpleWeb. Thanks Jack |