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 29 on Windows 7.

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