In that example there is
1. "form.html" in which we enter the user name and click submit
2. "cookietest.java" -
servlet which adds a cookie and transfer the control to a
jsp which again takes to another servlet named "checkcookie.java".in "checkcookie" we retrieve the cookie.
The problem is in the cookietest,trying to use the request dispatcher.I had saved the "result.jsp" directly under tomcat/webapps
when I use this code
it gives me Null Pointer Exception
or
results in result.jsp not found.
I checked the parameter name,cookie name and the location of the file.I am unable to locate the problem.Please help.
Thank you very much.Vinal
Note: replaced Cookie with Kookie to post this topic