posted 21 years ago
You haven't told us what error you're getting. If the error page doesn't include a stack trace, have you looked in catalina.out, and theother log files, for stack traces? Let us know what the actual error is, and maybe we can help. Otherwise, we're just fumbling around here -- there's nothing wrong with the code intrinsically, it's just a question of whether it does what you want it to do.
Note that appending to an existing XML file is just going to give you a broken XML file, by the way.