commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Orselli" <>
Subject betwixt:
Date Wed, 31 May 2006 07:47:11 GMT
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 + 
            BeanWriter bWriter = new BeanWriter(fWriter);
            bWriter.write("qualforn", ib);
when run this code for the first time i find a correct xml file,
        <qualforn id="1">

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
Stefano Orselli 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message