Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.
This commit is contained in:
commit
4f2e303079
1839 changed files with 235630 additions and 0 deletions
23
webapp/web/fileupload/datastreamModification.jsp
Normal file
23
webapp/web/fileupload/datastreamModification.jsp
Normal file
|
@ -0,0 +1,23 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
|
||||
|
||||
<%/* this is used by the FedoraDatastreamController and not by the N3 editing system.*/%>
|
||||
|
||||
<h2>Upload a replacement for ${fileName}</h2>
|
||||
<form action="<c:url value="/fedoraDatastreamController"/>"
|
||||
enctype="multipart/form-data" method="POST">
|
||||
|
||||
<p>File <input type="file" id="fileRes" name="fileRes" /></p>
|
||||
|
||||
<%/* <p><input type="radio" name="useNewName" value="false" checked/>
|
||||
use existing file name</p>
|
||||
<p><input type="radio" name="useNewName" value="true"/>
|
||||
rename file to name of file being uploaded</p> */%>
|
||||
|
||||
<input type="hidden" name="fileUri" value="${fileUri}"/>
|
||||
<input type="hidden" name="pid" value="${pid}"/>
|
||||
<input type="hidden" name="dsid" value="${dsid}"/>
|
||||
|
||||
<input type="submit" id="submit" value="submit" />
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue