I've a problem with betwixt 0.7
I work on a Apache Tomcat/5.0.28
java 1.4.2_01-b06
i write this java code:
String prefix = context.getRealPath("/");
String xmlpath = prefix + "xmlpdf/";
(new File(xmlpath)).mkdirs();
FileWriter fWriter = new FileWriter(xmlpath +
"output_"+System.currentTimeMillis()+".xml");
BeanWriter bWriter = new BeanWriter(fWriter);
bWriter.enablePrettyPrint();
bWriter.setIndent("\t");
bWriter.write("qualforn", ib);
bWriter.flush();
bWriter.close();
when run this code for the first time i find a correct xml file,
<qualforn id="1">
<istanza__compilatore_societa_sede__xx/>
<istanza__data_creazione__xx>2006-05-24</istanza__data_creazione__xx>
when from start the second time this i have an empty xml file with only the
first row:
<qualforn idref="1"/>
If i restart the tomcat i can run the servlet and i have a correct result
only the first time that i run the code.
thanks for the help
Ciao
Stefano Orselli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]