I have the need to take an xml data source and do a transform with an xsl template.
I have written it as a
servlet and as a custom tag. Both work.
My question is, when would be best to implement it as a servlet and when would it be best to implement it as a custom tag?
The servlet is currently being used by multiple sites that need the transformed data (we return the data in html or wml format as requested).
The custom tag is a proof-of-concept implementation. I wasn't quite sure how to do it and wanted to see if I could. It would (yes, life is subject to change, but for this round...) always be called from a
JSP.
Does this seem right? Are their resource issues to take into account?
Any insight is appreciated,
Sharon