I've been successful in implementing the oreilly package (what a lifesaver), specifically the MultipartRequest class. My next step is to be able to insert what is uploaded into a database using, presumably, MultipartParser from the same package. I am running Tomcat standalone and Oracle 8.1.7. The file to be uploaded will be a delimitted text file. My ultimate goal is to be able to parse through the contents of the loaded file and load that information to a new table in the database for later viewing. Can some of you Ranch Hands point me in the right direction? Would it be better to upload the file to the server and then transfer it to the DB from there? Or should I go with the MultipartParser? I've read through Jason's documentation and am a bit stuck. Any help would be appreciated. Thanks. Brian
I'd say your intuition is right. Upload the file first and then parse it. Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
Kyle. Thanks for the reply. Your experience is obviously much greater than mine. I am, in fact, relatively new to this all. Could you perhaps point me in the right direction or give me some ideas on how you would choose to proceed in this situation? Thanks in advance for your help. Brian
Hello, the above comments are very helpful. But for my case, I am uploading an EXCEL file to the server. Can the approach be the same? So do I upload the excel file to the server first, then parse it? But excel file is different from CSV file, how do I parse excel file? Thanks! ------------------ Sun Certified Programmer for Java Platform