a) Several ways. The similar to the ways session tracking is enabled. Using cookies, URL-rewriting, SSLSession, and possibility threw in the database.
b) If the request has a Form object, the data may be passed on through the Form object across pages. Or within the Action class, call request.getSession and use session.setAttribute (), though that will persist through the life of the session until altered.
SOURCE : www.referjava.com
No comments:
Post a Comment