You should also
look into Filters, part of the Servlet 2.3 spec. They allow you to "do
anything" after a resource has written the response. In fact, the
canonical example of a Filter is one that implements an XSLT transformation,
transforming an XML file that is written to the response "as-is". That is,
the servlet container fetches the XML file, writing it to the response.
Then, the filter transforms the response, creating a new response, which gets
delivered to the client.
Of course, the
Servlet 2.3 spec hasn't been finalized yet. But Tomcat Catalina (in it's
5th beta release) implements Filters. They're really cool, and they might
make the ActionServlet concept a bit redundant. That is, the controller in
an MVC/Model 2 architecture can be implemented as a
Filter.
Just my 2p
worth.
-dan
|
- Proposal Jeff Trent
- Re: Proposal Ted Husted
- Re: need solution Rajasekhar Bodduluri
- Re: Proposal Taylor Cowan
- Re: Proposal Jeff Trent
- Re: Proposal Dan - Blue Lotus Software
- Re: Proposal Jeff Trent
- RE: Proposal Dan - Blue Lotus Software
- Re: Proposal Jeff Trent
- Re: Proposal Jeff Trent
- Re: Proposal Ted Husted
- Re: Proposal Jeff Trent
- Re: Proposal Ted Husted
- Re: Proposal Taylor Cowan
- Re: Proposal Craig R. McClanahan
- RE: Proposal Dan - Blue Lotus Software