repositories
/
TD_webapps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finish exo9 code and fix unicode support where possible.
[TD_webapps.git]
/
ROOT
/
exo7
/
setcookie.jsp
diff --git
a/ROOT/exo7/setcookie.jsp
b/ROOT/exo7/setcookie.jsp
index 43ffe8db44d62f7bf742de99ac14e2eba0ef2f7f..e6d891eb6c68b1fbc38a0364be9ed8b55e1c294f 100644
(file)
--- a/
ROOT/exo7/setcookie.jsp
+++ b/
ROOT/exo7/setcookie.jsp
@@
-1,5
+1,6
@@
<%@ page import="java.io.*, java.util.*, javax.servlet.*" %>
<%
+request.setCharacterEncoding("UTF-8");
String firstname = request.getParameter("firstname");
String lastname = request.getParameter("lastname");
String username = firstname + lastname;