Followup to r1602522
Add "/" to the path like we do for session cookies.
Use request.getContextPath() as I think it makes a better example.

If I examples are named "/examples" then either code works. If I rename them to some Cyrillic name then the new code works while the old one does not. Tested with Firefox 30 on Windows 7 + for Tomcat 7 you have to configure Connector with URIEncoding="UTF-8".

Merged r1602694 from tomcat/trunk.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1602698 13f79535-47bb-0310-9956-ffa450edef68