/** * Show the page which allows the user to choose another file to upload * * @param context * current DSpace context * @param request * the request object * @param response * the response object * @param subInfo * the SubmissionInfo object */ private void showChooseFile(Context context, HttpServletRequest request, HttpServletResponse response, SubmissionInfo subInfo) throws SQLException, ServletException, IOException { // set to null the bitstream in subInfo, we need to process a new file // we don't need any info about previous files... subInfo.setBitstream(null); // load JSP which allows the user to select a file to upload JSPStepManager.showJSP(request, response, subInfo, CHOOSE_FILE_JSP); }
info.setBitstream(Bitstream.find(context, bitstreamID));
subInfo.setBitstream(bitstream); subInfo.setBitstream(bitstream); showGetFileFormat(context, request, response, subInfo);