Cookies in Javabeans
0 posts in topic
Flat View  Flat View

Posted By:   Tyrone_Visagie
Posted On:   Thursday, November 28, 2002 04:54 AM

Hi. I am fairly new at using beans and am struggling with manipulating cookies. Is it possible to read and write to cookies from withing the bean? I have tried to import javax.servlet.http.Cookie, but I get the following error:
C:InetpubwwwrootWEB-INFclassesCookieManager.java:2: package javax.servlet.http does not exist

Is it possible do this or do I have to read the cookie from the jsp page and then populate variables within the bean?

Any help or suggestions would be much appreciated.

About | Sitemap | Contact