By Using Cookies
There are four solutions 1. Cookies, 2. Hidden from field, 3. URL rewriting and 4.Servlet Session API