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
> [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to