Originally posted by Karan Jain: Is there any way i can achieve the functionality of saveToken, restToken, isTokenValid, and isCancelled using only JSP and servlets.
Yes. Download the Struts source code, analyze how they do it, and write logic of your own that follows the same pattern.