Wow no response! But alas, I found a way to use POST method. I modified the original applet to communicate with the servlet that will handle my query request (execute SQL, create resultset, save resultset as text file). Then I have it invoke another servlet that I created whose sole purpose is to open the file and launch it within the browser as an EXCEL file.
Here's the applet code:
Here's the SQLServletSerialized code that handles my query request:
Finally, here's the code for the servlet that just opens the resultset textfile as an EXCEL file within your browser:
Just FYI, the codes above are not
thread safe and assumes Windows style directory system. I'm sure someone can do better...
Have a nice day,
Daniel
[ June 29, 2005: Message edited by: Dan Fishman ]
[ June 29, 2005: Message edited by: Dan Fishman ]
[ June 29, 2005: Message edited by: Dan Fishman ]
[ July 14, 2005: Message edited by: Dan Fishman ]