<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.unicode.cldr.web.*" pageEncoding="UTF-8"%> <%@page import="org.unicode.cldr.util.XMLUploader"%> SurveyTool File Upload <% XMLUploader.writeBulkInfoHtml("upload", out); %> Return to the SurveyTool ST
<% 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

Bulk: 1. Upload files

Logged in as: <%= cs.user.name %>

<% String email = request.getParameter("email"); if(SurveyMain.isUnofficial() && email==null) { email = cs.user.email; %> <%--
<%= WebContext.iconHtml(request,"warn","Unofficial Site") %>Unofficial
--%> <% } %> <% if(email==null) email=""; if(request.getParameter("emailbad")!=null) { %>
<%= WebContext.iconHtml(request, "stop", "error") %> Invalid address or access denied:
<%= email %>
<% } else if(request.getParameter("filebad")!=null) { %>
<%= WebContext.iconHtml(request, "stop", "error") %> No file was uploaded, or a file error occured.
<% } if(request.getParameter("s")==null) { %>
<%= WebContext.iconHtml(request, "stop", "error") %> Error, not logged in.
<% } else { %>
" />
The account name must be a valid email address. Use your own address, <%= cs.user.email %> to vote as yourself.
See the help for information on formatting the XML file.
In this tool, the "NEXT" button is always located in the bottom-right corner of the screen. The navigation area at the bottom of the screen will show you where you are in the process.

<% } %>