SurveyTool File Upload
<%
XMLUploader.writeBulkInfoHtml("upload", out);
%>
Return to the SurveyTool
<%
String sid = request.getParameter("s");
// use a variable to store the state whether to redirect
boolean doRedirectToSurvey=false;
CookieSession cs=null;
if (sid == null || sid.isEmpty()) {
// null SID -> redirect
doRedirectToSurvey = true;
} else {
// SID is not null or empty -> retrieve the session
cs = CookieSession.retrieve(sid);
doRedirectToSurvey = (CookieSession.sm == null ||
cs == null ||
cs.user == null);
}
if (cs != null && cs.user != null) {
cs.userDidAction(); // mark user as not idle
}
if (doRedirectToSurvey) {
response.sendRedirect(request.getContextPath() + "/survey");
return;
}
%>
Welcome to the CLDR Bulk Upload tool. This tool will let you upload an XML file and submit it as your vote, or as the vote
of a user in your organization.
For help, see: Using Bulk Upload