You have a few coices here. If you are building up the XML programmatically
use a tool like ECS (java.apache.org).

You can output XML the same as HTML, just set the content type correctly.
This assumes the browser can support XML and display it sensibly,
presumably by way of some stylesheet.

Since there is nothing really special in writing out XML you can use
a tool like WebMacro to generate it, just as you would generate HTML.
WebMacro can introspect your beans and make their content available
within the XML template.

  http://webmacro.org

Justin


Quoting Eoin Lane ([EMAIL PROTECTED]):
> I have downloaded and tried the the JavaWebServer 2.0 and have used the
> JavaServer Pages examples especially the calendar where you input data
> in a html page using the GET method but now I want to output the results
> not as a html page but as an XML page. Does anyone know of and example
> of where is this done i.e.  Input using a HTML form page processing
> using JavaServer pages and beans and outputting and XML page as the
> result. I would be very grateful for any help.
>
> Eoin.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to