Maybe you could do that with Castor... I already played around with java-xml binding and you only have to map for instance Your class Guestbook to an xml-file...
When you post... Just do something like Guestbook.update(new EntryFromPost())... Ask this question on the castor mailing list and you'll get a more specific answer I guess. Cheers, Robby -----Original Message----- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: donderdag 2 maart 2006 15:52 To: [email protected] Subject: Write XML from a post in a page Hi, I would like to know whether it is possible to write an XML file based upon the post a user does in his webbrowser towards a page. For instance, this could be used in a "guestbook" without having to use a database. For instance <guestbook> <entry><from>abc</from><......></entry> </guestbook> When the user is in the site and posts a new entry in the guestbook, the above file should be changed to have 2 entries. Depicting stuff like guestbooks would become pretty easy. Regards, Yves --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
