Timothy:
Just a note to let you know that I've made some changes to the http stuff. I've defined a new interface org.apache.avalon.http.Handler (in the http/api package) and this basically declares the servlet style service operation. I've updated the holder class to include a Servlet adapter class which simply redirects HTTP service requests to the component.
Next step is to resolve path to component mapping (currently hardwired to the component partition name). I'll be looking at this point point later this weekend - current thoughts are that we should:
(a) update the model listener to look for context components
(b) get the context component to locate handler components
(c) have path to component mapping declared under the context
component configurationThe current model listener should be revamped as a configurable http context instance that handles the location of the component to handle an incoming request. Anyway, I've just uploaded the a binary snapshot of 3.3 to http://dpml.net/merlin/distributions/3.3/snapshots/20040206/ if you want to play with it this weekend.
To run the http test all you need to do is:
merlin block:avalon-http/test
Then look at the content via http://localhost:8080/test/primary
Cheers, Steve.
--
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/merlin/distributions/latest | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
