set Cookie
read cookie
add related web.xml