Add uploadSoftfail servlet init parameter
This commit is contained in:
parent
24fb08d1fc
commit
5982de3b48
1 changed files with 6 additions and 0 deletions
|
@ -284,6 +284,7 @@ public class ApplicationManager implements XmlRpcHandler {
|
|||
String sessionCookieName;
|
||||
String protectedSessionCookie;
|
||||
String uploadLimit;
|
||||
String uploadSoftfail;
|
||||
String debug;
|
||||
boolean encode;
|
||||
Repository[] repositories;
|
||||
|
@ -318,6 +319,7 @@ public class ApplicationManager implements XmlRpcHandler {
|
|||
sessionCookieName = props.getProperty(name + ".sessionCookieName");
|
||||
protectedSessionCookie = props.getProperty(name + ".protectedSessionCookie");
|
||||
uploadLimit = props.getProperty(name + ".uploadLimit");
|
||||
uploadSoftfail = props.getProperty(name + ".uploadSoftfail");
|
||||
debug = props.getProperty(name + ".debug");
|
||||
encode = "true".equalsIgnoreCase(props.getProperty(name +
|
||||
".responseEncoding"));
|
||||
|
@ -481,6 +483,10 @@ public class ApplicationManager implements XmlRpcHandler {
|
|||
holder.setInitParameter("uploadLimit", uploadLimit);
|
||||
}
|
||||
|
||||
if (uploadSoftfail != null) {
|
||||
holder.setInitParameter("uploadSoftfail", uploadSoftfail);
|
||||
}
|
||||
|
||||
if (debug != null) {
|
||||
holder.setInitParameter("debug", debug);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue