Hi,

I am using the DOMUtil class provided by Sun as an example for handling xml
documents. I am reading the struts-config.xml, changing some properties, and
writing to struts-config.xml but, after struts-config is writed, it loses its
'doctype declaration' and its 'encoding' is changed to UTF-8.

How to change struts-config using DOM without losing information?

PS.:
the DOMUtil file is attached

Henrique Viecili

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

Reply via email to