R
Rui Pacheco
Hi everyone
I have a servlet that queries a database, processes the ResultSet,
turns it into a n String[][] and sends it by Serialization into an
applet that contains basically a JTable to display the contents to the
user.
Now, somewhere in the middle of this, a StringBuffer is filled with
the contents of the String[][] so an CSV file can be created on the
server for the final user to download. The ideia is to display the
data on the applet and manipulate it on the Excel sheet.
But... the applet updates the JTable with the table faster than the
file can be written on the server, so when the link is shown on the
webpage the file hasn't been created and when the user tries to save
it, it returns an error.
Is there a way for me to create the file faster than the applet is
created?
Thank you very much
Rui Pacheco
I have a servlet that queries a database, processes the ResultSet,
turns it into a n String[][] and sends it by Serialization into an
applet that contains basically a JTable to display the contents to the
user.
Now, somewhere in the middle of this, a StringBuffer is filled with
the contents of the String[][] so an CSV file can be created on the
server for the final user to download. The ideia is to display the
data on the applet and manipulate it on the Excel sheet.
But... the applet updates the JTable with the table faster than the
file can be written on the server, so when the link is shown on the
webpage the file hasn't been created and when the user tries to save
it, it returns an error.
Is there a way for me to create the file faster than the applet is
created?
Thank you very much
Rui Pacheco