Revision 3354
Added by walbridge over 17 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
2829 | 2829 |
// it's a file part |
2830 | 2830 |
FilePart filePart = (FilePart) part; |
2831 | 2831 |
fileList.put(name, filePart); |
2832 |
|
|
2833 |
// Stop once the first file part is found, otherwise going |
|
2834 |
// onto the |
|
2835 |
// next part prevents access to the file contents. So...for |
|
2836 |
// upload |
|
2837 |
// to work, the datafile must be the last part |
|
2838 |
break; |
|
2839 | 2832 |
} |
2840 | 2833 |
} |
2841 | 2834 |
} catch (IOException ioe) { |
Also available in: Unified diff
Updated com.oreilly.servlet (cos.jar) from 19Jun2001 to current 05Nov2002 version. Fixed uploading in MetaCatServlet.java to allow parameters after file object, was disabled for a workaround in the previous library.