You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Seann McCulloch <sm...@peopledoc.com> on 2000/05/10 11:09:42 UTC
servlet/mime type chaining
Hi
Does anyone know if there's a way to perform servlet or mime type
chaining
using jakarta + tomcat ?
Specifically, I want to make an XSLT servlet handle all XML output
by my JSP pages.
I can do this using mime type chaining in JRun, but can't find any
way of doing
the same using Tomcat.
Apologies if this is an obvious question.
Regards
Seann McCulloch
Re: servlet/mime type chaining
Posted by Michal Mosiewicz <mi...@interdata.com.pl>.
Laird Nelson wrote:
> [...]
> Perhaps a better answer for this kind of question would be why would you
> do it that way when instead you could XXX YYY. For example, I know that
> chaining is bad for the reasons you cite, but what's the alternative
> (I'm sure there is one)?
Event based processing, which allows for reducing
serialisation/deserialisation cost (look for SAX).
-- Mike
Re: servlet/mime type chaining
Posted by Laird Nelson <lj...@unix.amherst.edu>.
Michal Mosiewicz wrote:
> A standard answer for this kind of question is why would you do it that
> way? Chaining is a poor concept, cause there is a large performance
> penalty on serialising/deserialising text data.
Perhaps a better answer for this kind of question would be why would you
do it that way when instead you could XXX YYY. For example, I know that
chaining is bad for the reasons you cite, but what's the alternative
(I'm sure there is one)?
Cheers,
Laird
Re: servlet/mime type chaining
Posted by Michal Mosiewicz <mi...@interdata.com.pl>.
Seann McCulloch wrote:
>
> Hi
>
> Does anyone know if there's a way to perform servlet or mime type
> chaining
> using jakarta + tomcat ?
A standard answer for this kind of question is why would you do it that
way? Chaining is a poor concept, cause there is a large performance
penalty on serialising/deserialising text data.
-- Mike
Re: servlet/mime type chaining
Posted by Gabriel Russell <g....@ieee.org>.
> Specifically, I want to make an XSLT servlet handle all XML output
> by my JSP pages.
Isn't this the basic functionality of Cocoon? http://xml.apache.org/cocoon/