Skip to content

Commit

Permalink
Fix wrong label and title
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tamura committed Mar 3, 2017
1 parent add3bd8 commit dcdecd4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws Ser
bodyHtml.append("<input type=\"file\" name=\"file\" size=\"60\" /><br>");
bodyHtml.append(MessageUtils.getMsg("msg.select.upload.file", locale));
bodyHtml.append("<br><br>");
bodyHtml.append("<input type=\"submit\" value=\"Upload\" />");
bodyHtml.append("<input type=\"submit\" value=\"" + MessageUtils.getMsg("label.upload", locale) + "\" />");
bodyHtml.append("<br><br>");
bodyHtml.append(MessageUtils.getMsg("msg.unrestricted.upload", locale));
bodyHtml.append("</form>");
Expand Down Expand Up @@ -116,7 +116,7 @@ protected void doPost(HttpServletRequest req, HttpServletResponse res) throws Se
bodyHtml.append("<br><br>");
bodyHtml.append("<INPUT type=\"button\" onClick='history.back();' value=\""
+ MessageUtils.getMsg("label.history.back", locale) + "\">");
HTTPResponseCreator.createSimpleResponse(res, MessageUtils.getMsg("label.upload", locale),
HTTPResponseCreator.createSimpleResponse(res, MessageUtils.getMsg("title.unrestricted.upload", locale),
bodyHtml.toString());

} catch (Exception e) {
Expand Down

0 comments on commit dcdecd4

Please sign in to comment.