Hi All,
We have a web app. in which we show some spooled files.
These spooled files have fixed border lines.
Using a convert spooled file to text or html file on ifs give a goor result when opening these files from the ifs directly
But when I want to read these files in our web app with the bufferedReader class, the border is not fixed any more, how can I assure that in the web app I have the same results as I have when displaying the spooled file and its converted ifs file directly ?
Here the java code :
Thanks for your help
We have a web app. in which we show some spooled files.
These spooled files have fixed border lines.
Using a convert spooled file to text or html file on ifs give a goor result when opening these files from the ifs directly
But when I want to read these files in our web app with the bufferedReader class, the border is not fixed any more, how can I assure that in the web app I have the same results as I have when displaying the spooled file and its converted ifs file directly ?
Here the java code :
IFSFile file = new IFSFile(as400, ifsPath);
BufferedReader d = new BufferedReader(new IFSFileReader(file));
String data = "";
while ((data = d.readLine()) != null) {
varSpool = varSpool + data + "\n";
}
// Close the reader.
d.close();
BufferedReader d = new BufferedReader(new IFSFileReader(file));
String data = "";
while ((data = d.readLine()) != null) {
varSpool = varSpool + data + "\n";
}
// Close the reader.
d.close();
Thanks for your help
Comment