You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Achim Weßling <Ac...@web.de> on 2002/01/06 23:12:26 UTC
creation of xml-file
Hallo,
I have to create a xml-file with a jsp or servlet. Where do I start best?
Many thanks!
++++++++++++++++++++++++++++++++
Achim Weßling
Achim.Wessling@web.de
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: creation of xml-file
Posted by Ragu Bharadwaj <ra...@daylight.com>.
Hi Achim,
The easiest way would be to use the ECS toolkit from
jakarta.apache.org from within your servlet. Enables easy XML doc creation
without ever having to worry about the details.
cheers
-Ragu
On Sun, 6 Jan 2002, Achim [iso-8859-1] We�ling wrote:
> Hallo,
>
> I have to create a xml-file with a jsp or servlet. Where do I start best?
>
> Many thanks!
>
> ++++++++++++++++++++++++++++++++
> Achim We�ling
> Achim.Wessling@web.de
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: creation of xml-file
Posted by ba...@generationjava.com.
Have you considered using Cocoon?
I'm not trying to sell it at all, but if you're outputting xml as a major
part of the architecture, it would seem a better choice than jsp/servlet.
If it's just a minor part, then I would probably create a generic servlet
which takes your data objects and an xml-writer.
The xml-writer would simply have a method like:
toXml(Writer, DataObject).
Then the servlet would be either called with request parameters of:
writer=com.your.writer&dao.id=5758
or they would be init-params.
Very vague I know, but those would be my two immediate avenues.
Bay
On Sun, 6 Jan 2002, Achim [iso-8859-1] We�ling wrote:
> Hallo,
>
> I have to create a xml-file with a jsp or servlet. Where do I start best?
>
> Many thanks!
>
> ++++++++++++++++++++++++++++++++
> Achim We�ling
> Achim.Wessling@web.de
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>